wrapp/floatlabelededittext — pull request #19 by andreidd (2014-08-22 10:09:34+00:00)
Title: Small bug fixes

Hello,

This is the first time I have done this so please excuse any mistakes I may have made. I used your library for a school project and I noticed and fixed a couple of bugs:

1. If we have multiple controls on the same activity, with different texts, whenever the activity is recreated(on rotation for example), all the controls take the same text.

This was fixed by giving each editText an unique id. The method that generates the ids is in a different class but I suppose it can be moved as a private static method if you prefer so.

2. When we have multiple controls on the same activity, and set texts to each one programmatically at the same time, all hint text views have an alpha of 1 - only the currently selected one should have alpha = 1, the rest should have alpha = 0.33.

I edited the files using the browser so I hope that there aren't any mistakes in the commits.