following on from my previous question :-)
i have text view and an image view inside a linear layout which is
itself inside another linear layout. the inner linear has
android:gravity set to center_horizontal, and that seems to work
fine. however i'd like the inner layout to have some white space
around it, so i set some left and right margins.
usually margins work as i'd expect, but in this particular case it
seems like the white space appears, but nobody tells the inner text
view -- it continues to draw as though it's filling the width. hence,
the left and right of the text is clipped.
removing the image view "sorts it out". is some combination of these
elements causing the clipping?
i'd set the image as a compound drawable inside the text view, but
then i can't get clicks on the image, at least it seems not.
thanks
--
jason.vp.engineering.particle
--
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en