Don't forget click star if you like it, thank you.
|
|
|
|
|
|
|
|
<com.goyourfly.ezledview.EZLedView
android:id="@+id/ledView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:text="HELLO"
app:led_color="#000"
app:text_size="200dp" />
<com.goyourfly.ezledview.EZLedView
android:id="@+id/ledView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:image="@drawable/simpson" />
| Name | Format | Explain |
|---|---|---|
| led_radius | dimension | radius of led point |
| led_space | dimension | space between led point |
| led_color | color | color of led point,does not work if the content is image |
| led_type | enum | type of led light:circle,square,drawable |
| led_drawable | reference | if led_type is drawable |
| content_type | enum | type of content:text,image |
| image | reference | the reference of image |
| text | string | the content of text |
| text_size | dimension | size of text |
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
dependencies {
compile 'com.github.goyourfly:EZLedView:-SNAPSHOT'
}








