GONE is one way, else, get hold of the parent view, and remove the child from there.....
parentView.remove(child) I would suggest using the GONE approach.... -Kumar Bibek http://techdroid.kbeanie.com On Sep 23, 4:57 pm, Kostya Vasilyev <[email protected]> wrote: > Use setVisibility(View.GONE) > > GONE views are ignored during layout process and so do not consume > layout space. > > -- Kostya > > 23.09.2010 15:53, Hatch пишет: > > > Now, I've already tried (although in vain) by using > > button2.setVisibility(INVISIBLE). The element was not shown, but it > > consumed the screen area never the less (so it was there, but just not > > drawn nor active). > > -- > Kostya Vasilyev -- WiFi Manager + pretty widget > --http://kmansoft.wordpress.com -- 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

