is there a way to have a horizontal scrollbar on a TextView?  I have
tried all kinds of variations, and it seems like it supports it, but i
cannot get it to work.

I did a google search online and it looks like at one point it was not
supported, i'm hoping / assuming that was under 1.1.  anyway, here's
my latest variation (that doesn't work; i have tried many other
variations -- that equally don't work as well!) --

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
              android:orientation="vertical"
              android:layout_width="fill_parent"
              android:layout_height="fill_parent"
              android:background="@color/black">

        <TextView android:layout_width="fill_parent"
                  android:layout_height="wrap_content"
                  android:text="My Text View"
                  android:textColor="#ff0000"
                  android:textStyle="bold"
                  android:textSize="14px"
                  android:gravity="center_horizontal"/>

        <ScrollView android:layout_width="fill_parent"
                android:layout_height="fill_parent"
                android:scrollbars="vertical">

                <ScrollView android:layout_width="fill_parent"
                        android:layout_height="fill_parent"
                        android:scrollbars="horizontal">

                        <TextView android:id="@+id/MyTextView"
                                          android:layout_width="wrap_content"
                                          android:layout_height="wrap_content"
                          android:singleLine="false"
                          android:scrollHorizontally="true"
                          android:textSize="10px"
                                          android:text="some text (which will 
be replaced by text that
needs to be scrolled horizontally)"/>
                </ScrollView>

        </ScrollView>

</LinearLayout>

tia.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to