On Wed, Dec 29, 2010 at 11:47 PM, gato chlr <dany...@gmail.com> wrote:

> Hi list!
>
> for example :
>
> TextView a = new TextView(this);
> a.setText("I'm a set of words, some ones larger than others, no matter");
>
> it is posible to have painted the next :
>
> i'm a set of wo
> rds, some one
> s larger than o
> thers, no matt
> er
>
> i need something like
>
> i'm a set of
> words, some
> ones larger
> than others,
> no matter
>
> I have tried using Gravity.CENTER_HORIZONTAL, it works but not totally.
>
> some advice?
>
> thanks
>
>
>  --
> 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<android-developers%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



IMHO android doesn't have lexical knowledge about language. Is is purely
based on length value you might say.

I my native language you have words that are pretty long and which you have
to dissect in specific way so even this wouldn't work.
I think you will have to implement something that will do padding with empty
space to achieve that behavior.

-- 
God is Real, unless declared Integer.
J. Allan Toogood, FORTRAN programmer

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