Re: [android-developers] how to avoid cut off of words in TextView
On Wed, Dec 29, 2010 at 4:47 PM, gato chlr dany...@gmail.com wrote: some advice? I have many TextViews with a lot of text that causes them to wrap and they always wrap around the words (as in your second example). Is that all you're doing? Just setting text and it shows up that way? Weirdness. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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
[android-developers] how to avoid cut off of words in TextView
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 For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] how to avoid cut off of words in TextView
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.comandroid-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