From b11381762e48da2ef29e35554c6f702b49608b24 Mon Sep 17 00:00:00 2001 From: Peter_Liang Date: Thu, 6 Jan 2022 23:58:08 +0800 Subject: [PATCH] Update the preview background of the Caption and Style. Add the background corner to be consistent with the Settings style. Bug: 213453597 Test: manual test Change-Id: Icf4526e13c81af9d8431304e04619d4add345aee --- res/layout/captioning_preview.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/res/layout/captioning_preview.xml b/res/layout/captioning_preview.xml index d8d2e4fbc5d..19e63602c71 100644 --- a/res/layout/captioning_preview.xml +++ b/res/layout/captioning_preview.xml @@ -21,13 +21,17 @@ android:clipToPadding="true" android:clipChildren="true" android:layout_width="match_parent" - android:layout_height="wrap_content"> + android:layout_height="wrap_content" + android:paddingStart="?android:attr/listPreferredItemPaddingStart" + android:paddingEnd="?android:attr/listPreferredItemPaddingEnd">