• Stars
    star
    880
  • Rank 51,881 (Top 2 %)
  • Language
    Java
  • Created almost 9 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Simple Android LabelView.

#FlycoLabelView

####δΈ­ζ–‡η‰ˆ A Simple Android LabelView.

##Demo

##Gradle

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