Skip to content

corerzhang/LabelView

Repository files navigation

LabelView

一个简单的标签控件 支持自定义 文字大小(textSize), 间距(labelTopPadding), 背景色(backgroundColor), 和方向(direction)等

  <me.corer.labelview.LabelView
        app:num="20:00"
        app:text="晚场"
        app:numStyle="italic"
        app:numSize="14sp"
        app:textSize="9sp"
        app:direction="leftTop"
        app:labelTopPadding="15dp"
        app:labelCenterPadding="5dp"
        app:labelBottomPadding="10dp"
        app:backgroundColor="@color/colorPrimaryDark"
        android:layout_marginTop="@dimen/activity_vertical_margin"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"/>
        
   

image image

About

一个简单的标签控件

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages