[android-developers] Re: TextView scroll in an activity.
Ok, I got it to work.
I HAD to add a scroll view to the text view.
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:isScrollContainer="true"
android:scrollbars="vertical|horizontal"
android:scrollbarStyle="outsideOverlay" >
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:isScrollContainer="true"
android:scrollbars="vertical|horizontal"
android:scrollbarStyle="outsideOverlay" >
<TextView>
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:inputType="text|textMultiLine"
android:scrollHorizontally="false"
android:layout_height="wrap_content"
android:inputType="text|textMultiLine"
android:scrollHorizontally="false"
</TextView>
And for the word wrap to work, see the attributes for TextView above.
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home