リストビューがあるアクティビティがあります。リスト ビューの上に、リスト ビューをフィルタリングするための 2 つのスピナーを含む別のレイアウト アクティビティを含めます。しかし、フィルターを含めると、リスト ビューが機能しません。人口が増えていません。それを削除すると、リストビューにデータが取り込まれます。
<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" >
<include android:id="@+id/filter" layout="@layout/activity_expense_list_filter" />
<ListView
android:id="@android:id/list"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_alignParentLeft="true"
android:layout_below="@id/filter"
android:layout_marginTop="23dp"
android:drawSelectorOnTop="false">
</ListView>
</RelativeLayout>
フィルター ビューを削除すると、リスト ビューは期待どおりに機能します。これを解決する方法についてのアイデア