ShapeImageView

Additional

Language
Java
Version
N/A
Created
Jan 4, 2016
Updated
Jan 4, 2016 (Retired)
Owner
阵雨 (andyxialm)
Contributor
阵雨 (andyxialm)
1
Activity
Badge
Generate
Download
Source code

#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.