1
sliderdrawer가 가져온 처리기를 누를 때 내용이 투명하지만 내용과 listview.the listview가 모두 숨겨져있는 것을 볼 수 있습니다. 사전에slidingdrawer 내용이보기와 겹치다
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/RelativeLayout1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<ListView
android:id="@+id/lvq"
android:layout_width="match_parent"
android:layout_height="match_parent" >
</ListView>
<SlidingDrawer
android:id="@+id/slidingDrawer1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_alignBottom="@+id/lvq"
android:layout_alignTop="@+id/lvq"
android:content="@+id/content"
android:handle="@+id/handle" >
<Button
android:id="@+id/handle"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="History" />
<LinearLayout
android:id="@+id/content"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
</LinearLayout>
</SlidingDrawer>
</RelativeLayout>
감사 :
여기 내 레이아웃 XML입니다!
슬라이딩 서랍의 내용 부분에 배경색/이미지를 설정하면됩니다. 기본적으로 투명합니다. –