/AndroidTint

AndroidTint(着色)

Primary LanguageJavaApache License 2.0Apache-2.0

AndroidTint

AndroidTint(着色)

Add it in your root build.gradle at the end of repositories:

allprojects {

  repositories {
  	...
  	maven { url "https://jitpack.io" }
  }

}

Step 2. Add the dependency

dependencies {

      compile 'com.github.iQuick:AndroidTint:-SNAPSHOT'

}

Use

setTint

   AppCompatEditText et1 = (AppCompatEditText) findViewById(R.id.et_1);
     AppCompatEditText et2 = (AppCompatEditText) findViewById(R.id.et_2);

     EmTintUtils.setTint(et1, 0xffff00ff);
     EmTintUtils.setTint(et2, 0xff00ffff);