I have a complex layout that is almost perfectly adapted to
RelativeLayout rules - all except for 2 buttons.  I want to equally
space 5 ImageButtons along the bottom of the view.  The outside two
buttons I can do in XML with android:layout_alignParentRight="true"
and android:layout_alignParentLeft="true".  The middle button I can do
with android:layout_centerHorizontal="true".  But how can I position
the remaining 2 buttons between the others?  What I wanted to do was
to recalculate their position with respect to the other 3 buttons in
the onCreate() method using AbsoluteLayout.  But I see that
AbsoluteLayout has been deprecated.  I would rather not clone the
AbsoluteLayout functionality if there is a more straight-forward way
to do what I need.

-- 
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

Reply via email to