Use android:gravity=center
On Thu, Aug 21, 2008 at 10:36 AM, RPO [EMAIL PROTECTED] wrote:
This code fragment no longer works in the 0.9 SDK:
TextView label;
label.setAlignment(Alignment.ALIGN_CENTER);
So how do I center text within a TextView?
Thanks!
Bob O'Hara
--
It works, thanks. Gravity it is. If this were the 60's I would say
Heavy, man!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
2 matches
Mail list logo