setVisibility(View.INVISIBLE) (or View.GONE)

If that throws an exception, look at the stack trace and fix the error :)

On Tue, Oct 13, 2009 at 2:04 PM, Smelly Eddie <[email protected]> wrote:
>
> I have some optional views in my xml layout. Namely a radioGroup and
> buttons.
>
> How can I hide these programtically?
>
> I tried setting Visisbility, but that through an exception.
>
> Is this documented anywhere?
> >
>



-- 
Romain Guy
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

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