If you are in the eclipse ide with the android plugin, select the text view
(open the xml file) and go to the properties tab.  There should be an option
called gravity.  Set gravity to "vertical-center|horizontal-center" and that
should do the trick.

On Wed, Jun 3, 2009 at 10:33 AM, Anna PS <annapowellsm...@googlemail.com>wrote:

>
> Hi all,
>
> I can see this question has been asked a couple of times before, but
> with no answer. How do I set the text in a TextView to be justified?
>
> That is, I would like it to look like the left-hand example here:
>
> http://en.wikipedia.org/wiki/Justification_(typesetting)
>
> Thanks,
> Anna
> >
>


-- 
Mike Garcia

There is no coincidence!

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

Reply via email to