RotateLabelView
This is library to help you to add a sticky rotation label into your view.
Import into your project
implementation 'com.qifan.rotateLabelView:rotateLabelView:1.0.0'
ScreenShots
Example Usage
Custom Attributes
attr | type | default | meaning |
---|---|---|---|
label | string | NONE | label content text |
text_color | color | android.R.color.white | label color |
background_color | color | android.R.color.black | label background color |
text_size | dimension | 30f | label text size |
rotation_angle | integer | 45 | label rotation angle |
type | enum | TOP_RIGHT | label rotation position(TOP_RIGHT,TOP_LEFT,BOTTOM_RIGHT,BOTTOM_LEFT) |