Hi,

I am using a HorizontalScrollView to contain and scroll 3 child
widgets, each of which is either an ImageView or a custom widget. What
I'd like to achieve is something like homescreen, where each child
widget filling up the whole width of the display and the user is able
to switch to the other widget by flickering horizontally. I am having
a hard time figuring out what properties I should assign to each of
the child widget in order to have them fill the parent container. I
get it working if I hard coded the width for each child but I'd like
them to be able to fit to any screen resolutions, as the current
Android homescreen does.

Here is the xml (pseudo like)

HorizontalView -> LinearLayout -> children widgets

Hope this makes sense. Thanks!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to