summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Akira Oshimi <akira.x.oshimi@sonymobile.com> 2016-12-16 18:57:28 +0900
committer Yoshinori Hirano <Yoshinori.Hirano@sonymobile.com> 2017-01-11 02:58:34 +0000
commitf1575117443a51cf4b059d8630c3d83c139bffb0 (patch)
tree3705757ab110414ce147605e1674ef2a8561dc61
parent616910fd531069bde40baeaf69600b875152c0b9 (diff)
Fix clipping for edit screen of Quick Settings
The width of the edit screen is fixed when the display size is updated in landscape mode. So when the device is rotated to portrait mode, the width is not updated and the edit screen is truncated. To fix this issue, "match_parent" should be used to match to the width of Notification Panel always. Bug: 34206618 Test: manual - go to Settings, rotate device to landscape mode, change display size (Default > Large > Default), rotate device to portrait mode and show QS edit screen Change-Id: I35ac623812908a61cd34357e6bda567cab55ace1
-rw-r--r--packages/SystemUI/res/layout/qs_customize_panel_content.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/res/layout/qs_customize_panel_content.xml b/packages/SystemUI/res/layout/qs_customize_panel_content.xml
index ca0248e066eb..04d0e6524eac 100644
--- a/packages/SystemUI/res/layout/qs_customize_panel_content.xml
+++ b/packages/SystemUI/res/layout/qs_customize_panel_content.xml
@@ -27,7 +27,7 @@
<android.support.v7.widget.RecyclerView
android:id="@android:id/list"
- android:layout_width="@dimen/notification_panel_width"
+ android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:scrollIndicators="top"