android:scrollHorizontally - Scroll Text in an EditText

How to Scroll Text with finger in an EditText

added in API Level 1

Text wider than the EditText can be scrolled horizontally. Put your finger on the text and move text from side to side to read.

1. Add an EditText in the main.xml file.

2. In the main.xml file, add the code below.

<EditText
        ...
android:scrollHorizontally = "true"
/>

3. Compile and run!
http://developer.android.com/reference/android/widget/TextView.html#attr_android:scrollHorizontally
http://developer.android.com/reference/android/R.attr.html#scrollHorizontally