Hi VBMichi,

check the following code, it might help you...

<Button android:id="@+id/Button01" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:maxLines="5"
android:maxWidth="35dip" android:text="mano j"></Button>



On Nov 17, 2:46 pm, skink <psk...@gmail.com> wrote:
> VBMichi wrote:
> > Hi slink,
>
> > I exaktly see "This\nis\na\ntest!" as caption of the button.
> > Also if I try "This \n is \n a \n test!".
>
> really strange
>
> maybe try:
>
> Button b = (Button) findViewById(R.id.test);
> char qqqq = b.getText().charAt(4);
> Log.d("Test", "value " + (int) qqqq);
>
> and see logcat output

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