yea thats what I decided to do but when the button is pressed it still will not change the textview.
On Jan 17, 8:07 am, Mark Murphy <mmur...@commonsware.com> wrote: > 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, > 2009http://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 android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---