drawer: fix ripple on settings imageview

This commit is contained in:
Andrew Dolgov 2015-11-30 09:35:58 +03:00
parent 658b83e0a4
commit afa8203b5e

View File

@ -6,18 +6,19 @@
android:weightSum="1" android:weightSum="1"
android:clickable="false"> android:clickable="false">
<ImageView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:id="@+id/imageView"
android:scaleType="fitXY"
android:background="?colorPrimaryDark"
android:src="?drawer_header" />
<FrameLayout <FrameLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:background="@android:color/transparent"
android:layout_height="match_parent"> android:layout_height="match_parent">
<ImageView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:id="@+id/imageView"
android:scaleType="fitXY"
android:background="?colorPrimaryDark"
android:src="?drawer_header" />
<ImageView <ImageView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -25,10 +26,9 @@
android:id="@+id/drawer_settings_btn" android:id="@+id/drawer_settings_btn"
android:layout_gravity="bottom|right" android:layout_gravity="bottom|right"
android:clickable="true" android:clickable="true"
android:focusable="true"
android:layout_marginBottom="16dp" android:layout_marginBottom="16dp"
android:layout_marginRight="12dp" android:layout_marginRight="12dp"
android:background="?attr/selectableItemBackground" /> android:background="@drawable/ripple" />
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"