VBMichi wrote: > Hi, > > I am searching for help with a multiline button since 6 days. > Maybe someone of you can help me. > I've also posted my question in den android-beginner google group. > Sorry for crossposting. > > I have a button: > > <Button > android:layout_height="wrap_content" > android:id="@+id/test" > android:background="@drawable/background_image" > android:layout_width="280dip" > android:layout_marginLeft="20dip" > android:layout_marginTop="10dip" > android:text="This is a test!"> > </Button> > > How can I set each word which is in android:text in a seperate line in > the button? > > I've allready tried; > > android:text="This\nis\na\ntest!" and > android:singleLine="false" and > android:lines="4" > > Nothing seems to work. > > Thanks for you help! > > Regards, > Michael
hi, what do you see when you just try: android:text="This\nis\na\ntest!" ? -- 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