Eddie O'Hagan wrote:
> When I attempt to change the text of the textbox it does not seem to
> change and I cant figure out why.

You only ever calculate the tip once, when the activity is first opened.
The tip value at that point ($0.00) is the same as the value you have in
your XML as the value of the Ans TextView.

If you want the tip to change, you will need to arrange to get control
again sometime after the fields have been updated. The simple way is to
add a Button and recalculate the tip when the Button is pressed.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com

Android Training on the Ranch! -- Mar 16-20, 2009
http://www.bignerdranch.com/schedule.shtml

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to