我如何实现以下目标?
第一张图片显示了我想要达到的结果。第二个是我从布局中得到的当前结果。注意我使用的图像是来自android 1.6 jar 的图像。
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<SlidingDrawer
android:id="@+id/drawer"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:handle="@+id/handle"
android:content="@+id/content">
<ImageView
android:id="@id/handle"
android:src="@drawable/drawer_handle"
android:layout_width="fill_parent"
android:layout_height="fill_parent" />
<Button
android:id="@id/content"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Button" />
</SlidingDrawer>
</LinearLayout>