Skip to content

Include MatchTextView and MatchButton..Come..you will like it

Notifications You must be signed in to change notification settings

skmuddy/MatchView

 
 

Repository files navigation

Android MatchView

This project is learn from (https://github.com/liaohuqiu/android-Ultra-Pull-To-Refresh) .
Thanks for liaohuqiu..

I like the animation in that project...so i studied his codes and make this..

..as you see right now,wish you like it.

Demo

Download Demo

Step

Import this project into android studio..it's build with it.

Usage

Maven Central

gradle

compile project(':library')
Config in xml
 xmlns:match="http://schemas.android.com/apk/res-auto"

<com.roger.match.library.MatchTextView
        match:text="MATCH VIEW"
        match:textSize="30sp"
        match:textColor="#ffffff"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content" />
        
<com.roger.match.library.MatchButton
        match:text="Yes"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content" />
Or config in java code
// the following are default settings
 mMatchTextView.setText("MATCH VIEW");
 mMatchTextView.setTextSize(30);
 mMatchTextView.setTextColor(Color.WHITE);
// setProgress  float 0-1
 mMatchTextView.setProgress(0.5f);

About me

A small guy in mainland FUJIAN China.

If you have any new idea about this project, feel free to tell me ,Tks. 😃

Android Arsenal

About

Include MatchTextView and MatchButton..Come..you will like it

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%