Thank you very much Kostya,
Works like a charm. 

On Mar 20, 2011, at 12:24 PM, Kostya Vasilyev wrote:

> Set android:visibility="invisible" or "gone". The latter might work better, 
> depending on your UI design, as that will make view not take any screen space.
> 
> 20.03.2011 15:06 пользователь "Pedro Teixeira" <[email protected]> 
> написал:
> > Hi there,
> > 
> > I wonder if there's any quick XML way on making a button invisible and
> > disabled for an user.
> > 
> > I have my application ready for user testing, but some of the
> > functionalities won't be used on the testing so I'd like them not to
> > be visible or functional while doing the experience.
> > 
> > I know I could just remove all the code or comment everything but I'd
> > like just to disable it since users might listen to you but not hear
> > you and touch them anyway which would interfere with my analysis.
> > 
> > Thank you
> > 
> > -- 
> > 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
> 
> -- 
> 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

Pedro Teixeira

Website/Portefolio: www.pedroteixeira.org
Facebook: http://www.facebook.com/JosePedroSousaTeixeira

-- 
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

Reply via email to