For the latter case you could put two views, one with
layout_weight="1" and one with layout_weight="3" to have the first
fill 25% and the second fill 75%.

Peli

On Nov 12, 3:51 pm, brs <[EMAIL PROTECTED]> wrote:
> Is there a simple way for a view to have a fixed aspect ratio - E.g.
>
> android:width="FILL_PARENT"
> android:height=<always same as width...>
>
> Or is there a way to specify for a view to take up some fixed size,
> relative to the available screen size, e.g. width = 50% of screen
> width, height=25% or screen height?
>
> Bernhard
--~--~---------~--~----~------------~-------~--~----~
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