Hello

I use TextView and there's a little question about word wrapping.

I set the 2 pattern texts at the same layout width.

===================================
pattern 1.
   tv.setText("ああきょう(29日)aaaaaaaaaaaaaaaaa");

pattern 2.
   tv2.setText("ああきょう (29日)aaaaaaaaaaaaaaaaa");

<LinearLayout
 android:id="@+id/linearLayout1"
 android:layout_width="80dip"
 android:layout_height="150dip"
 android:background="#FF0000"
>
  <TextView
   android:text="TextView"
   android:id="@+id/tv2"
   android:layout_width="wrap_content"
   android:layout_height="wrap_content"></TextView>
</LinearLayout>

===================================


pattern 1. shows like below
------------------------
ああきょ
う(29日)aaa
aaaaaaaaaa
aaaa
------------------------


pattern 2. shows like below
------------------------
ああきょう
(29日)aaaaa
aaaaaaaaaa
aa
------------------------


My question is how to determine of word's or phrase's word wrap point
in textview?

Any help thanks!




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

Reply via email to