commit | f07f1700e234a106c011becc305a15f4dba7e38a | [log] [tgz] |
---|---|---|
author | Min Yun <min.yun@lge.com> | Mon Jun 27 13:55:15 2016 -0700 |
committer | Jason Monk <jmonk@google.com> | Thu Jun 30 15:19:25 2016 -0400 |
tree | 8909f4d5b4e42a460cb035a99703f341ccab22e3 | |
parent | 650cc68f10f7138d4e048dbd7b08162241388f8f [diff] |
Quick settings icons have focus To have focus in quick setting icons, add focusable Fixes: 29769508 Change-Id: I1b10203d60614a7b94274da046dac69a7ed5b80a Signed-off-by: Sungyoung An <sungyong.an@lge.com> Signed-off-by: Min Yun <min.yun@lge.com>
diff --git a/packages/SystemUI/res/layout/qs_user_detail_item.xml b/packages/SystemUI/res/layout/qs_user_detail_item.xml index 58fc069..8c6c7cf 100644 --- a/packages/SystemUI/res/layout/qs_user_detail_item.xml +++ b/packages/SystemUI/res/layout/qs_user_detail_item.xml
@@ -28,6 +28,7 @@ android:minHeight="112dp" android:clipChildren="false" android:clipToPadding="false" + android:focusable="true" android:background="@drawable/ripple_drawable" systemui:activatedFontFamily="sans-serif-medium"> @@ -65,4 +66,4 @@ android:visibility="gone" /> </LinearLayout> -</com.android.systemui.qs.tiles.UserDetailItemView> \ No newline at end of file +</com.android.systemui.qs.tiles.UserDetailItemView>
diff --git a/packages/SystemUI/res/layout/quick_status_bar_expanded_header.xml b/packages/SystemUI/res/layout/quick_status_bar_expanded_header.xml index 103e0b0..f201851 100644 --- a/packages/SystemUI/res/layout/quick_status_bar_expanded_header.xml +++ b/packages/SystemUI/res/layout/quick_status_bar_expanded_header.xml
@@ -44,6 +44,7 @@ android:layout_width="48dp" android:layout_height="48dp" android:layout_alignParentEnd="true" + android:focusable="true" android:background="@drawable/ripple_drawable" > <ImageView android:id="@+id/multi_user_avatar" android:layout_width="@dimen/multi_user_avatar_expanded_size"
diff --git a/packages/SystemUI/src/com/android/systemui/qs/QSTileBaseView.java b/packages/SystemUI/src/com/android/systemui/qs/QSTileBaseView.java index feacaa0..5ed19ef 100644 --- a/packages/SystemUI/src/com/android/systemui/qs/QSTileBaseView.java +++ b/packages/SystemUI/src/com/android/systemui/qs/QSTileBaseView.java
@@ -63,6 +63,7 @@ setClipChildren(false); setClipToPadding(false); mCollapsedView = collapsedView; + setFocusable(true); } private Drawable newTileBackground() {