[Q] ScrollView makes the text disappear

Search This thread

Aadi

Senior Member
May 27, 2012
468
290
infinityhacks.wordpress.com
I have a scroll view with table layout of 14 rows and each row is having 2 EditText Fields. I have button which the user clicks and the program computes and prints the answer. The problem is as soon as the user clicks the button and then makes changes in the EditText and again clicks the button and then scrolls up the character entered in changed EditText field disappears but when the user clicks on it it reappers. Please help me to solve this problem. Here is the xml file.

Problem in Detail:-
1. User enters the text in the EditText Fields.
2. User clicks the button.
3. User makes change in one or more EditText Fields.
4. User Clicks the button and then scrolls.
5. The character entered in the last changed EditText Field disappears.

Link To Full XML Code:- http://pastebin.com/G01TcXN1

Link To Full JAVA Code:- http://pastebin.com/utRMQ60B

Please help me to solve this problem.