summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorJason Monk <jmonk@google.com>2015-07-29 16:07:39 -0400
committerJason Monk <jmonk@google.com>2015-07-29 16:07:39 -0400
commitbd6f1c87a5bbedd37417cff2fb9f6306e2a1d22f (patch)
tree921faa87291ebf629173fc886ab35423f5d41d02 /packages
parent7157c2ca81cb2c942a1e94cf1a0344babf6a8bd6 (diff)
downloadframeworks_base-bd6f1c87a5bbedd37417cff2fb9f6306e2a1d22f.zip
frameworks_base-bd6f1c87a5bbedd37417cff2fb9f6306e2a1d22f.tar.gz
frameworks_base-bd6f1c87a5bbedd37417cff2fb9f6306e2a1d22f.tar.bz2
Fix touch target for settings icon
Bug: 22808656 Change-Id: I92b77b30bfeadc80d060dab67a51d5fcd96268af
Diffstat (limited to 'packages')
-rw-r--r--packages/SystemUI/res/layout/status_bar_expanded_header.xml14
1 files changed, 7 insertions, 7 deletions
diff --git a/packages/SystemUI/res/layout/status_bar_expanded_header.xml b/packages/SystemUI/res/layout/status_bar_expanded_header.xml
index 8c8a3dd..5eca471 100644
--- a/packages/SystemUI/res/layout/status_bar_expanded_header.xml
+++ b/packages/SystemUI/res/layout/status_bar_expanded_header.xml
@@ -44,31 +44,31 @@
android:scaleType="centerInside"/>
</com.android.systemui.statusbar.phone.MultiUserSwitch>
- <com.android.keyguard.AlphaOptimizedLinearLayout
+ <com.android.systemui.statusbar.AlphaOptimizedFrameLayout
android:id="@+id/settings_button_container"
android:layout_width="48dp"
android:layout_height="@dimen/status_bar_header_height"
- android:paddingStart="12dp"
android:clipChildren="false"
android:clipToPadding="false"
android:layout_toStartOf="@id/multi_user_switch">
<com.android.systemui.statusbar.phone.SettingsButton android:id="@+id/settings_button"
style="@android:style/Widget.Material.Button.Borderless"
- android:layout_width="24dp"
- android:layout_height="@dimen/status_bar_header_height"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
android:background="@drawable/ripple_drawable"
android:src="@drawable/ic_settings"
android:contentDescription="@string/accessibility_desc_settings" />
<com.android.systemui.statusbar.AlphaOptimizedImageView android:id="@+id/tuner_icon"
- android:layout_width="12dp"
- android:layout_height="@dimen/status_bar_header_height"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:paddingStart="36dp"
android:tint="#4DFFFFFF"
android:tintMode="src_in"
android:visibility="invisible"
android:src="@drawable/tuner" />
- </com.android.keyguard.AlphaOptimizedLinearLayout>
+ </com.android.systemui.statusbar.AlphaOptimizedFrameLayout>
<LinearLayout android:id="@+id/system_icons_super_container"
android:layout_width="wrap_content"