Forked from FloatingLabelLayout https://gist.github.com/chrisbanes/11247418, the lib provides floating text label with extra behaviors based on customizable criteria.
[Video] (http://youtu.be/_oNO-fIk1Ys)
You need to add this to your xml layout:
<jesusm.floatlabellayout.lib.PasswordFloatLabelLayoutCheck
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:floatLabelTextAppearance="@style/TextAppearance.YourApp.FloatLabel"
app:showStateIcon="true">
<!-- Your EditText -->
</jesusm.floatlabellayout.lib.PasswordFloatLabelLayoutCheck>
app:showStateIcon (false by default) indicates if you want to show an icon when your password is considered as "strong" (you can change this behavior).