1
我想補充後滑動抽屜另一個滑動抽屜,目前我的輸出是:添加另一個滑動抽屜右側失敗
箭頭#1應該是我的第一個滑動抽屜
箭#2是我的第二滑動抽屜應該
我有以下代碼:
<?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="match_parent"
android:orientation="vertical" >
<SlidingDrawer
android:id="@+id/asof"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/drop_shadow"
android:content="@+id/right_content_a"
android:gravity="center_horizontal"
android:handle="@+id/right_handle"
android:orientation="horizontal" >
<ImageView
android:id="@+id/right_handle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/tab"
android:text="" />
<FrameLayout
android:id="@+id/right_content_a"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:tag="eacomm" >
</FrameLayout>
</SlidingDrawer>
<SlidingDrawer
android:id="@+id/field_ex"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/drop_shadow"
android:content="@+id/right_content_a"
android:gravity="center_horizontal"
android:handle="@+id/right_handle2"
android:orientation="horizontal" >
<RelativeLayout
android:id="@+id/right_handle2"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="bottom" >
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/tab" />
</RelativeLayout>
<FrameLayout
android:id="@+id/right_content_a"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:tag="eacomm2" >
</FrameLayout>
</SlidingDrawer>
</LinearLayout>
有什麼想法? TIA!