[android-developers] Hide a View in a HorizontalScrollView and not leave empty space?

2010-03-05 Thread Ozymandias
When I had a view that's in my HorizontalScrollView it leaves a blank
area because it's still being considered for layout purposes. Is there
a way to have it not occupy space when I hide it?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Hide a View in a HorizontalScrollView and not leave empty space?

2010-03-05 Thread Romain Guy
Use the visibility View.GONE instead.

On Fri, Mar 5, 2010 at 8:00 PM, Ozymandias jor...@gmail.com wrote:
 When I had a view that's in my HorizontalScrollView it leaves a blank
 area because it's still being considered for layout purposes. Is there
 a way to have it not occupy space when I hide it?

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Romain Guy
Android framework engineer
romain...@android.com

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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en