1

我几乎完成了我的应用程序,现在我正在做最后的润色。我已经让我的列表视图变得透明,并且设置了背景,这太可怕了。如何使我的图像固定并且只有列表视图可滚动?

这是我的 XML。我有很多这样的清单。

<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content" >

<RelativeLayout
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical" >

    <ListView
        android:id="@+id/listView1"
        android:layout_width="wrap_content"
        android:layout_height="1100dp"
        android:layout_alignParentRight="true"
        android:background="@android:color/transparent"
        android:cacheColorHint="#00000000"
        android:drawSelectorOnTop="true"
        android:textSize="10pt" >

    </ListView>

</RelativeLayout>
</ScrollView>
4

0 回答 0