From f1575117443a51cf4b059d8630c3d83c139bffb0 Mon Sep 17 00:00:00 2001 From: Akira Oshimi Date: Fri, 16 Dec 2016 18:57:28 +0900 Subject: [PATCH] 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 --- packages/SystemUI/res/layout/qs_customize_panel_content.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@