In xml layout
<TextView
android:id="@+id/aboutusTxtAbout"
android:layout_width="wrap_content"
android:layout_height="205dip"></TextView>
In java file
TextView txtView=(TextView)
findViewById(R.id.aboutusTxtAbout);
txtView.setMovementMethod(new
ScrollingMovementMethod());
By setting this you can put the scroll in fixed height of
textview.
No comments:
Post a Comment