Sorry previous post got away from me :) use button.setVisibility(View.GONE) to hide it use button.setVisibility(View.VISIBLE) to show it again
On Jan 7, 12:30 pm, loty <[email protected]> wrote: > Sure just use button.setVisibility(View.GONE) to hide it and > > On Jan 5, 7:50 pm, Lance <[email protected]> wrote: > > > Hi All, > > > I'm wondering if there is a way to make a button show based on a > > condition, i.e. if var1 == var2 show button. > > Thanks in advance. > > > -Lance > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" 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-developers?hl=en -~----------~----~----~----~------~----~------~--~---

