This is a simple implementation of a Float Labeled EditText forked on floatlabelededittext.
I push it to Maven central for include easier more and making a example project.
Add dependency to your build.gradle file:
dependencies {
compile "com.github.semoncat.floatlabelededittext:library:+"
}
And then insert the view in XML:
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<com.semoncat.FloatLabeledEditText
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_height="wrap_content"
android:layout_width="match_parent"
app:fletFloatingHint="Normal"/>
</LinearLayout>