Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/H07000223/FlycoLabelView
A Simple Android LabelView.
https://github.com/H07000223/FlycoLabelView
Last synced: 2 months ago
JSON representation
A Simple Android LabelView.
- Host: GitHub
- URL: https://github.com/H07000223/FlycoLabelView
- Owner: H07000223
- Created: 2015-12-15T15:51:53.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-18T08:57:19.000Z (almost 8 years ago)
- Last Synced: 2024-11-15T22:08:14.281Z (2 months ago)
- Language: Java
- Size: 1.75 MB
- Stars: 880
- Watchers: 16
- Forks: 164
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-android-ui - https://github.com/H07000223/FlycoLabelView
- awesome-android-ui - https://github.com/H07000223/FlycoLabelView
README
#FlycoLabelView
####[中文版](https://github.com/H07000223/FlycoLabelView/blob/master/README_CN.md)
A Simple Android LabelView.##Demo
##Gradle
```groovy
dependencies{
compile 'com.flyco.labelview:FlycoLabelView_Lib:1.0.2@aar'
}
```##Attributes
|name|format|description|
|:---:|:---:|:---:|
| lv_text | string | set text
| lv_text_color | color | set text color default #ffffff
| lv_text_size | dimension | set text size default 11sp
| lv_text_bold | boolean | set text bold default true
| lv_text_all_caps | boolean | set text all caps default true
| lv_background_color | color | set LabelView background color default #FF4081
| lv_min_size | dimension | min size of rect of LabelView default mFillTriangle?35dp:50dp
| lv_padding | dimension |set paddingTop and paddingBottom of text default 3.5dp, invalid when mFillTriangle true
| lv_gravity | enum |set LabelView gravity TOP_LEFT or TOP_RIGHT or BOTTOM_LEFT or BOTTOM_RIGHT default TOP_LEFT
| lv_fill_triangle | boolean | set fill triangle area, default false