<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent" android:paddingLeft="8dp"
android:paddingRight="8dp" android:weightSum="1">
<TextView android:id="@+id/textView1" android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceLarge"
android:layout_weight="0.12" android:layout_width="match_parent"
android:text="@string/songsbyyear" android:gravity="center"
android:textColor="@color/white" android:textSize="22dp"
android:background="@color/steelblue" android:textStyle="bold"></TextView>
<ListView android:layout_width="wrap_content"
android:drawSelectorOnTop="false" android:id="@android:id/list"
android:background="@color/darkslateblue" android:layout_height="456dp"> </ListView>
</LinearLayout>
我设置了listview
背景颜色。当我试图向上/向下移动时,它变得凌乱。有什么建议可以解决这个问题吗?