On Thu, Sep 1, 2011 at 6:57 AM, Ash <[email protected]> wrote: > I am trying to add a HorizontalScrollView to my layout with a left and right > arrow image button on either side of the HorizontalScrollView. How can I > specify the android:layout_xxx parameter so that I have the left arrow image > button at the left, the right arrow image button at the right and > the HorizontalScrollView in the middle of these image buttons.
Use android:layout_alignParentRight and android:layout_alignParentLeft for the buttons. Use android:layout_toLeftOf and android:layout_toRightOf for the HorizontalScrollView, tying it to the buttons. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- 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

