Noam Wolf wrote: > I was wondering if there was an equivalent to css' display: none in > android. My goal is to have a fluid UI that if certain elements are > hidden from it all other elements shift into the void. > > Any way to achieve this? view.setVisibility is holding the width and > height of the invisible element, which is exactly what I want to > avoid.
Try setVisibility(View.GONE) -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.4 Published! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

