please use following code for textview without using scrollbar
let me take text view like following
<TextView
android:id="@+id/txtLandingText"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="10dp"
android:text="@string/description"
android:scrollbars="vertical"
/>
now in your activity just put following code so your text view will become scroll able
txtDescription = (TextView) findViewById(R.id.txtLandingText);
txtDescription.setMovementMethod(new ScrollingMovementMethod());
let me take text view like following
<TextView
android:id="@+id/txtLandingText"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="10dp"
android:text="@string/description"
android:scrollbars="vertical"
/>
now in your activity just put following code so your text view will become scroll able
txtDescription = (TextView) findViewById(R.id.txtLandingText);
txtDescription.setMovementMethod(new ScrollingMovementMethod());
Cloud based sales management
ReplyDelete