ShapeImageView
ShapeImageView copied to clipboard
ShapeImageView
#ShapeImageView
| attr | format | description |
|---|---|---|
| text | string | Text display |
| shape | enum(Circle/Rectangle/RoundRectangle) | Shape |
| textStyle | enum(normal/bold/italic/bold_italic) | TextStyle |
| textColor | color | Text Color |
| borderColor | color | Border Color |
| backgroundColor | color | Background Color |
| textSize | dimension | TextSize |
| borderWidth | dimension | Border Width |
| radius | dimension | RoundRectangle Round Radius, whether shape type is RoundRectangle |
Usage
You can use android:src to set image, like this:
android:src= "@mipmap/a"
ScreenShot

#License
ShapeImageView is available under the MIT license.