Horizontal scroll on textview on android?
<p>I'm working on a calculator. I noticed that in the default android calc you can scroll the textview horizontally. I looked up the documentation and found out about the attribute <code>android:scrollHorizontally</code> but after adding it to the textview I still cannot do horizontal scroll, there is no further info about it on the documentation leading me to think that only adding the attr should suffice. This is the calculator's textview:</p>

<pre><code>    &lt;TextView android:id="@+id/edit_text"
        android:layout_width="0dip"
        android:layout_height="match_parent"
        android:layout_weight=".8"
        android:singleLine="true"
        android:scrollHorizontally="true"
        android:gravity="center|right"
        android:text="0" /&gt;
</code></pre>

<p>When characters exceed the textview width the string is trimmed and ... appear at it's end. What am I doing wrong?</p>
