Business Talk wrote:
> is it possible to define an attribute value of a height attribute, for
> example, relative to its parent's height.  For instance, I want the
> linear_layout's height to be 2/3 of its FrameLayout parent. I have a
> FrameLayout with two  linear_layouts. The first  linear_layout fills
> the entire FrameLayout and the second  linear_layout overlaps the
> first but only 2 / 3 of its height.  Any ideas?

No, there is no current way to express heights as percentages of some
other widget's height, at least in XML. You could probably work this out
in Java somehow, or create your own custom layout manager that handles it.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android Consulting/App Development: http://commonsware.com/consulting

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