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