在我的Android应用程序中,我有一个可扩展的列表视图和一个linearLayout中的按钮但是当我打开一个子列表时,项目和listview之间的某种重叠是在listview中的布局和按钮hidde。我有两件物品。其中一个藏在其他人之下。 我该如何解决?
<?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">
<ExpandableListView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/expandableListView"/>
<Button
android:id="@+id/backup"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="BackUp"
android:clickable="true"/>
</LinearLayout>