我怎么能这样做?

导航抽屉内的两个可扩展列表视图.我试着将它添加到我的xml中,但没有运气.我想要的是只有一个滚动条的视图,但我不知道该怎么做..
这是我的导航抽屉布局:
<?xml version="1.0" encoding="utf-8"?>
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:background="@color/Bianco"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:orientation="vertical"
android:layout_marginLeft="16dp"
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp"
android:layout_marginRight="16dp"
android:layout_height="wrap_content">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceLarge"
android:text="@string/tvHomeActions"
android:id="@+id/textView" />
<ExpandableListView
android:id="@+id/elvHome"
android:layout_width="match_parent"
android:layout_marginTop="4dp"
android:layout_height="300dp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceLarge"
android:text="@string/tvHomeNavigations"
android:layout_marginTop="16dp"
android:id="@+id/textView2" />
<ExpandableListView
android:id="@+id/elvNavigateTo"
android:layout_width="match_parent"
android:layout_height="200dp"
android:layout_marginTop="4dp" />
</LinearLayout>
</ScrollView>
Run Code Online (Sandbox Code Playgroud)
编辑: 我想在Gmail应用程序中创建类似抽屉的东西
如何实现这样的android导航抽屉?
TopLevelView1~TopLevelView4可以选择并且没有子项
TopVevelView5可以collaspe
我的问题是,如果我的团队结构如此
所有
Stared
类别
---- mp3
---- txt
---- doc
---- pdf
当我选择所有然后显示所有文件.
当我选择凝视然后只显示盯着文件.
当我选择mp3然后只显示mp3文件.
和类别可以扩展和崩溃.
