Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small bug fixes #19

Merged
merged 3 commits into from Oct 2, 2014
Merged

Small bug fixes #19

merged 3 commits into from Oct 2, 2014

Conversation

andreidd
Copy link
Contributor

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.

  1. 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.

Fixed the following 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
2. When we have multiple controls on the same activity, and set texts to each one programmatically, 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
@heinrisch
Copy link
Contributor

Looks good, thanks!

heinrisch pushed a commit that referenced this pull request Oct 2, 2014
@heinrisch heinrisch merged commit b105c3d into wrapp-archive:master Oct 2, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants