-  - The Android Arsenal – Forms

Installation

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

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

Step 2: Add the dependency

compile 'com.github.Akashkamble:AnimatedEditText:1.0.0'

How to use?

Add following in your layout file

<com.animatededittext.AnimateEditText
        :layout_width="match_parent"
        android:layout_height="wrap_content"/>

How to change line color?

Use following attribute to change line color

app:lineColor="<-COLOR->"

How to change animation

Use following attribut to change animation (default value is false)

app:animationFromStart="true"



Source link

LEAVE A REPLY

Please enter your comment!
Please enter your name here