어떻게 다른보기 위에 슬라이더를 올려 놓을 수 있습니까? 그래서 화면의 아래쪽에서 나오지 않지만 다른보기의 맨 위부터 나오게합니까? 지금까지다른보기 위의 SlidingDrawer
내 코드 :
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:background="@drawable/splash">
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:background="#000000">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:background="@drawable/splash">
<Button android:id="@id/content"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="I'm in here!"/>
</LinearLayout>
<SlidingDrawer android:id="@+id/drawer"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:handle="@+id/handle"
android:content="@+id/content">
<ImageView android:id="@id/handle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/categories_bar_flipped"/>
<Button android:id="@id/content"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:text="I'm in here!"/>
</SlidingDrawer>
</RelativeLayout>
<EditText xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"/>
</LinearLayout>
문제는 그 글고의 disappeares하고 sliderhandle은 화면의 하단에 대신 글고
슬라이딩 서랍이 화면 가장자리에 도킹되어야한다고 생각합니다. 다른 동작이 필요한 경우 SlidingDrawer를 확장하고 사용자 정의보기를 만들어야 할 수 있습니다. –