tags:

views:

50

answers:

1

I have a simple TextView that displays some text that I've scraped of the web. Despite the fact that the text I want to display is much longer than the width of the screen, it neither wraps nor gives me a scroll bar. It just stops.

My layout is configured as follows:

    <?xml version="1.0" encoding="utf-8"?>
<TextView  xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/displayFighterVerse"
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content" 
    android:singleLine="false"
    android:width="0dip"
    android:inputType="textMultiLine"
    android:text="Welcome to Fighter Verses. Please wait while we download the latest verse."
    />

Can anyone help me figure out why this isn't displaying properly? What really simple thing am I missing?

A: 

Place your TextView inside a ScrollView

h0b0
Thanks - I tried that, but it made no difference.
Paul Hunnisett
While still wrapped by a ScollView, try removing the singleLine, width and inputType xml attributes from the TextView. If this also doesn't work try changing the layout_height to fill_parent.
h0b0
Thanks - I tried that as well. Still the same result :-(
Paul Hunnisett