Friday, March 30, 2012

[android-developers] Textview gravity resets

My layout is as follows
I have a table of textviews in a linear layout. that is in a
realative layout above an adview.

Relative layout
-linear layout
--tablelayout
---tablerow
----textview
.....
AdView

All the textviews have gravity set to "right|centervertical"
When it first loads, it looks fine. It takes a second or two for the
ad to show up.
when this happens, the layout adapts to the ad showing up.

However, at this point, the textview seems to reset the gravity to
right.
How can I avoid this in xml

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


Real Estate