>>>>> "PW" == Phill Wiggin <[email protected]> writes:
PW> On Mon, Apr 4, 2011 at 3:54 PM, Jake Colman <[email protected]> wrote: >> >> >> No takers on this question? Any reason why word-wrapped text won't honor >> the layout_centerInParent directive? >> >> PW> I haven't used centerInParent and I'm not at my desk to try, but PW> that sounds like it's trying to center your TextView inside the PW> parent Relative Layout... Not center the text in the PW> TextView. Try android:gravity="center". PW> http://developer.android.com/reference/android/widget/TextView.html#attr_android:gravity PW> Not sure if it'll work when your text wraps (since your text PW> isn't "smaller than the view"). Bingo! Thanks! I wasn't thinking of the difference between specifying the alignment of the views relative to one another and the alignment of the text inside of a view. -- Jake Colman -- Android Tinkerer -- 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

