Skip to content

goyourfly/EZLedView

Repository files navigation

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'
	}

About

LEDView Display image and text like LEDBanner

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages