Skip to content

changfeifan/FFUtils

Repository files navigation

FFUtils for Android

这是个常量类

Examples

Download

Gradle:

First write at the build.gradle (Project).

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

then write at the build.gradle (app or which projcect you want to use).

dependencies {
	        compile 'com.github.changfeifan:FFUtils:1.0.1'
	}

How to use

write this in your layout.

<com.changfeifan.mutitextview.MutiTextView
     android:layout_width="wrap_content"
     android:layout_height="wrap_content"
     app:leftText="DemoLeft"
     app:leftTextColor="#000000"
     app:leftTextSize="12dp"
     app:rightText="DemoRight"
     app:rightTextColor="#00FF00"
     app:rightTextSize="30dp" />

v1.0.1 added & fix

you can use new functions to set the text.

setTextLeft(String string);
setTextRight(String string);

or get the Text

getTextLeft();
getTextRight();

Contact

wechat: changfeifan002

Email: [email protected] / [email protected]