How to enable fast scrolling to "EditText Field" in android application

1.2k Views Asked by At

I am using EditText, and it has good amount of matter to scroll and read. Now my problem is, it's scrolling slow. So, i want increase it's scrolling speed. If anyone understood my problem and have solution please respond, Thanks in advance

3

There are 3 best solutions below

0
On

put the text box in a scrollview so that you move the textfield around and not the cursor in the text

<ScrollView
    android:layout_width="match_parent"
    android:layout_height="0dp"
    android:layout_weight="1">
    <TextView
        android:id="@+id/YourText"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"/>
</ScrollView>
0
On

Just surround the edittext with a scrollview. I tested and works fine.

1
On

I think you're looking for this:

<ListView
 ...
 android:fastScrollEnabled="true"/>

and this to "jump" in listView:

http://developer.android.com/reference/android/widget/SectionIndexer.html

Source: Android: Scrollbar Accelerator?