Re: [android-developers] how to center aligned multiline text

2011-04-22 Thread Kostya Vasilyev
Manish, As far as I can tell, when TextView breaks text into multiple lines, it always takes as much width from the parent view as it can. One possible workaround is to include explicit linesbreaks, "\n", into the string. -- Kostya 22.04.2011 22:53, Manish Garg пишет: Hi All, In my appli

[android-developers] how to center aligned multiline text

2011-04-22 Thread Manish Garg
Hi All, In my application, I am displaying some text in textview on tabs. I have customized tabs view. because of the text length it is wrapping in two line which is fine with me. But this text is getting aligned with the left and no more in center of the tab view. http://schemas.android.com/ap