[android-developers] Can I use device height in layout XML file?
Hi,
I am doing a drawing program which I have a palette height which is
exactly 1/5 of the device height. The question is: how do I specified
it in android:layout_height?
What I am doing now is stupid: I create a layout XML file for each
device size and change the layout_height. Is there a more elegant
solution? Thanks!
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home