HTC长文ui正在打破

时间:2013-10-11 14:13:25

标签: android

请帮我解决这个问题。我有很长的文字,当我试图在textview中设置它时,我的空白视图。

enter image description here

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:paddingBottom="@dimen/activity_vertical_margin"
    android:paddingLeft="@dimen/activity_horizontal_margin"
    android:paddingRight="@dimen/activity_horizontal_margin"
    android:paddingTop="@dimen/activity_vertical_margin"
    tools:context=".MainActivity" >
 <ScrollView
        android:layout_width="fill_parent"
        android:layout_height="fill_parent">
        <LinearLayout
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:paddingLeft="10dp"
            android:paddingRight="10dp"

            android:orientation="vertical">

        <TextView
            android:id="@+id/textview_checking"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"

            />
        </LinearLayout>
    </ScrollView>

</RelativeLayout>

0 个答案:

没有答案