### Gradle Dependency for FlycoLabelView Source: https://github.com/h07000223/flycolabelview/blob/master/README_CN.md This snippet shows how to include the FlycoLabelView library in your Android project using Gradle. Ensure you have the correct version and repository setup. ```groovy dependencies{ compile 'com.flyco.labelview:FlycoLabelView_Lib:1.0.2@aar' } ``` -------------------------------- ### Gradle Dependency Source: https://github.com/h07000223/flycolabelview/blob/master/README.md This snippet shows how to include the FlycoLabelView library in your Android project using Gradle. ```groovy dependencies{ compile 'com.flyco.labelview:FlycoLabelView_Lib:1.0.2@aar' } ``` -------------------------------- ### FlycoLabelView Attributes Source: https://github.com/h07000223/flycolabelview/blob/master/README.md This table lists the customizable attributes for FlycoLabelView, including their format, description, and default values. ```xml |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_LEFT or BOTTOM_LEFT or BOTTOM_RIGHT default TOP_LEFT | lv_fill_triangle | boolean | set fill triangle area, default false ``` -------------------------------- ### FlycoLabelView XML Attributes Source: https://github.com/h07000223/flycolabelview/blob/master/README_CN.md This section details the customizable attributes for FlycoLabelView when used in XML layouts. These attributes allow control over text content, appearance, and layout behavior. ```xml ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.