我想在另一个滑动抽屉旁边添加滑动抽屉,目前我的输出是:
箭头#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>
有任何想法吗?蒂亚!!!