Not sure if this is a bug, or I'm just not implementing it correctly.
I have a TextView that sometimes has text that is larger than the
vertical area Ive set for it.  So I ended up putting the TextView into
a ScrollView.. shown at the bottom of the post.

The problem I'm having is I update the TextView with different
information as the user clicks.

If the TextView has a large amount of text the ScrollBar appears as
wanted.  I've noticed though on future updates to the TextView, the
scroll bar does not disappear when set it to a value that does not
need the scroll bar.  It looks like it doesn't resize the scrolling
area back to the size of the text set.

Is this a bug, or expected behavior?  Anyone know of a way to reset
the height on the TextView or Scroll View to fix this issue?

Thanks,
Mark



<AbsoluteLayout
android:id="@+id/widget58"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#222222"
xmlns:android="http://schemas.android.com/apk/res/android";
>

<ScrollView android:id="@+id/textAreaScroller"
    android:layout_width="fill_parent"
        android:layout_height="173px"
        android:layout_x="0px"
        android:layout_y="25px"

        >
<TextView
android:id="@+id/TextViewPost"
android:layout_width="fill_parent"
android:layout_height="173px"
android:text="TextView"
android:layout_x="0px"
android:layout_y="25px"
></TextView>
</ScrollView>
</AbsoluteLayout>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to