2
DrawerLayout
아래에 view
을 열면이 문제에 대해 읽고 피곤하지만 해결할 수는 없지만 내 DrawerLayout
은 중간에 부모가 있어야합니다. 보기 및 메뉴 항목.DrawerLayout이 표시 될 때 (볼 수 있음)
이 XML 레이아웃된다 : DrawerLayout
이 표시 될 때
<?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:background="#ffffff"
android:orientation="vertical">
<include layout="@layout/application_toolbar"/>
<android.support.v4.widget.DrawerLayout
android:id="@+id/drawer_layout"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@android:color/transparent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginLeft="2dp"
android:layout_marginRight="2dp"
android:orientation="vertical">
<android.support.v7.widget.RecyclerView
android:id="@+id/simcard_lists"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="5dp"
android:paddingTop="5dp"/>
</LinearLayout>
<LinearLayout
android:id="@+id/slide_menu"
android:layout_width="250dp"
android:layout_height="fill_parent"
android:layout_gravity="right"
android:background="#ffffff"
android:dividerHeight="0dp"
android:orientation="vertical"
android:paddingRight="10dp">
<LinearLayout
android:id="@+id/filter_simcards"
android:layout_width="match_parent"
android:layout_height="30dp"
android:layout_marginTop="20dp"
android:orientation="horizontal">
<TextView
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_marginRight="10dp"
android:layout_weight="1"
android:paddingRight="15dp"
android:text="@string/filter_by_simcard_code"
android:textSize="15sp"/>
<com.joanzapata.iconify.widget.IconTextView
android:layout_width="30dp"
android:layout_height="wrap_content"
android:layout_marginRight="10dp"
android:clickable="true"
android:gravity="center"
android:shadowColor="#22000000"
android:shadowDx="3"
android:shadowDy="3"
android:shadowRadius="1"
android:text="{fa-filter}"
android:textColor="#9f24b8"
android:textIsSelectable="false"
android:textSize="30sp"/>
</LinearLayout>
<LinearLayout
android:id="@+id/my_buys_lists"
android:layout_width="match_parent"
android:layout_height="50dp"
android:gravity="center|right"
android:orientation="horizontal">
<com.joanzapata.iconify.widget.IconTextView
android:layout_width="30dp"
android:layout_height="wrap_content"
android:layout_marginRight="10dp"
android:clickable="true"
android:gravity="center"
android:shadowColor="#22000000"
android:shadowDx="3"
android:shadowDy="3"
android:shadowRadius="1"
android:text="{fa-check}"
android:textColor="#9f24b8"
android:textIsSelectable="false"
android:textSize="30sp"/>
</LinearLayout>
<LinearLayout
android:id="@+id/about_us"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_marginTop="10dp"
android:orientation="horizontal">
</LinearLayout>
</LinearLayout>
</android.support.v4.widget.DrawerLayout>
</LinearLayout>
는 클릭 recyclerview
항목 수단
질문이 명확하지 않습니다. – Raghunandan
@ DrawingLayout이 표시 될 때 @Raghunandan' recyclerview' 항목을 클릭 할 수 있습니다. –
android : layout_gravity = "start"인 드로어를 나타내는 레이아웃에서 android : clickable = "true"를 입력합니다. –