Friday, January 28, 2011

[android-developers] TextView with a top margin that is proportional to the height of the parent view

Is there a way to position text within a linear layout such that the
position of the text is proportional to the height, rather than a
fixed distance. For example, I would like the text to be displayed
down from the top a distance equal to 20% of the height of the view.

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

No comments:

Post a Comment