我一直試圖在我的導航抽屜中添加一些其他的東西(如圖像視圖或文本視圖)。我的導航。抽屜已經有一個列表視圖,這是工作正常,PLZ告訴我如何添加其他東西,在抽屜裏,就像在谷歌+導航。抽屜。如果可能,請提供代碼 。 Tx提前。如何在導航抽屜中添加不同的佈局/項目?
這是我的抽屜佈局XML
<!-- Framelayout to display Fragments -->
<FrameLayout
android:id="@+id/frame_container"
android:layout_width="match_parent"
android:layout_height="match_parent" >
</FrameLayout>
<!-- Listview to display slider menu -->
<ListView
android:id="@+id/list_slidermenu"
android:layout_width="240dp"
android:layout_height="match_parent"
android:layout_gravity="start"
android:background="@color/list_background"
android:choiceMode="singleChoice"
android:divider="@color/list_divider"
android:dividerHeight="1dp"
android:listSelector="@drawable/list_selector" />
「的ListView」我真的很感激,如果u PLZ給我拿個回答這個問題而不是拉我的腿。 – Deepanshu