UserInfoView
vailable at run time
Android 용 UserInfoview는 제목, 자막, 태그 및 이미지가있는 UserviewCard를 쉽게 만들 수 있습니다. 존재하는 XML 속성을 통해보기를 쉽게 사용자 정의 할 수 있습니다.
참고 : 이제 v1.0에서 프로그래밍 방식으로 실행 시간에 이미지를 변경할 수 있습니다.
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.graphicstone:UserInfoView:version'
}
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependency>
<groupId>com.github.graphicstone</groupId>
<artifactId>UserInfoView</artifactId>
<version>Tag</version>
</dependency>
<com.nullbyte.userinfoview.UserInfoView
android:id="@+id/userInfoView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:backgroundColor="@color/colorGrey"
app:cornerRadius="@dimen/dp_8"
app:image="@drawable/ic_image_black_24dp"
app:subtitle="next text"
app:subtitleTextColor="@color/colorWhite"
app:subtitleTextSize="@dimen/sp_18"
app:tag="check"
app:tagTextColor="@color/colorWhite"
app:tagTextSize="@dimen/sp_10"
app:title="new text"
app:titleTextColor="@color/colorWhite"
app:titleTextSize="@dimen/sp_20" />
MIT License
Copyright (c) 2020 Harishiv Singh
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.