All Projects → goyourfly → EZLedView

goyourfly / EZLedView

Licence: other
LEDView Display image and text like LEDBanner

Programming Languages

java
68154 projects - #9 most used programming language

EZLedView

Example

This view can display image and text like LED banner

Don't forget click star if you like it, thank you.

Demo

Example Example Example Example
Example Example Example Example

Usage

For Text

     <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" />

For Image

        <com.goyourfly.ezledview.EZLedView
            android:id="@+id/ledView"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            app:image="@drawable/simpson" />

Params

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

Compile

Step 1. Add the JitPack repository to your build file

	allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}

Step 2. Add the dependency

	dependencies {
	        compile 'com.github.goyourfly:EZLedView:-SNAPSHOT'
	}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].