나는 목록보기가있는 활동이 있습니다. 목록보기의 상단에는 목록보기를 필터링하기위한 두 개의 스피너가 포함 된 다른 레이아웃 활동이 포함되어 있습니다. 그러나 필터를 포함 시키면 목록보기가 작동하지 않습니다. 인구가 발생하지 않습니다. 제거하면 목록보기가 채워집니다.다른 활동이 포함되어 있으면 목록보기가 채워지지 않습니다. Android
<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>
필터보기를 제거하면 목록보기가 예상대로 작동합니다. 내가 해결할 수있는 아이디어 전체
또 다른 xml 코드와 자바 코드도 게시 할 수 있습니다. –