我在LinearLayout中实现了ExpandableListView,但是当我运行该应用程序时,得到的是:

首先,标题出现两次是否正常?
如果我触摸第二个标头(我认为不应该存在),它就会消失,让上一个标头单独出现(就像我希望的那样):

我不知道为什么会这样。我只想有一个标题,并且我想固定大小。以下是带有相关代码的文件:
ExpandableListView所在的布局:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/main_sv"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@color/white" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_marginTop="20dp"
android:layout_marginBottom="20dp"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp" >
...
<ExpandableListView
android:id="@+id/learnabletm"
android:layout_width="match_parent"
android:layout_height="200dp" />
</LinearLayout>
</LinearLayout>
Run Code Online (Sandbox Code Playgroud)
expandable_list_view_child.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<TextView
android:id="@+id/child"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textSize="17dip"
android:paddingTop="5dp"
android:paddingBottom="5dp"
android:paddingLeft="?android:attr/expandableListPreferredChildPaddingLeft" />
</LinearLayout>
Run Code Online (Sandbox Code Playgroud)
expandable_list_view_group.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="8dp">
<TextView
android:id="@+id/group"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingLeft="?android:attr/expandableListPreferredItemPaddingLeft"
android:textSize="18dp" />
</LinearLayout>
Run Code Online (Sandbox Code Playgroud)
ExpAdapter.java
public class ExpAdapter extends BaseExpandableListAdapter { …Run Code Online (Sandbox Code Playgroud)