Use setVisibility(View.GONE) On Tue, Sep 14, 2010 at 11:16 AM, AlreadyAMember <[email protected]> wrote: > Is there a way(programmatically, not in layout.xml files) to disable a > widget/spinner or basically make it invisible but also auto adjust the > position of the items under it. > > Say I have an activity displaying these in this order. > > > TextView > EditView > SomeSpinner > TextView > Blah Blah > > I would like to programmatically turn it into this > > TextView > EditView > TextView > Blah Blah > > setInvisible Gives this > > TextView > EditView > > TextView > Blah Blah > > I really would like to not to have that space. > > Thanks > > -- > 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 >
-- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy -- 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

