Use: android:gravity="center_horizontal" in your xml declaration of the
TextView

Thanks,
----------------------------------------------------------------------
There are only 10 types of people in the world...
Those who know binary and those who don't.
----------------------------------------------------------------------


On Mon, Sep 7, 2009 at 4:10 PM, Andrew Louth <[email protected]> wrote:

>
> I know its possible to center layouts easily using the TableLayout.
>
> You will find an example here:
>
> http://droidhut.com/solutions/centered-layouts
>
>
>
> Cheers,
>
> Andrew Louth
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to