[android-developers] Re: Conditional Button in Layout

2009-01-07 Thread loty
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 wrote: > Sure just use button.setVisibility(View.GONE) to hide it and > > On Jan 5, 7:50 pm, Lance wrote: > > > Hi All, > > >

[android-developers] Re: Conditional Button in Layout

2009-01-07 Thread loty
Sure just use button.setVisibility(View.GONE) to hide it and On Jan 5, 7:50 pm, Lance 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 --~--~-~--~~~---~