I noticed that it is not possible to specify a percentage value for
maxWidth.

What is the best way around this?

For example, in the layout xml, is it possible to get a handle on the
screen width and apply some kind of arithmetic to it (e.g.
maxWidth="(60 * @screenWidth) / 100px")

?

Also would this approach mean the maxWidth would be automatically
recalculated on orientation changes?
--~--~---------~--~----~------------~-------~--~----~
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