私はslidedrawerで作業しており、アプリケーションのすべてのアクティビティでslidedrawerを表示できました。
私が直面している問題は、バックグラウンド (アクティビティのビュー) をクリックできることです。スライドドロワーが開いているときに背景を無効にする方法はありますか。
よろしく
編集1
<?xml version="1.0" encoding="utf-8"?>
<SlidingDrawer xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/slidingDrawer1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
android:content="@+id/content"
android:handle="@+id/handle" >
<Button
android:id="@+id/handle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Handle" />
<LinearLayout
android:id="@+id/content"
style="@style/roundrectbox_white_layout"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@drawable/slider_round_rect_border"
android:orientation="vertical"
android:padding="15dp" >
<ListView
android:id="@+id/listView1"
android:layout_width="fill_parent"
android:layout_height="match_parent"
android:cacheColorHint="@android:color/transparent"
android:divider="@android:color/transparent"
android:listSelector="@android:color/transparent" />
</LinearLayout>
</SlidingDrawer>