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
diff --git a/res/layout/captioning_preview.xml b/res/layout/captioning_preview.xml
index d8d2e4f..19e6360 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">
<ImageView
android:layout_width="match_parent"
android:layout_height="@dimen/captioning_preview_height"
android:contentDescription="@null"
android:scaleType="centerCrop"
+ android:clipToOutline="true"
+ android:background="@drawable/protection_background"
android:src="@drawable/caption_background"/>
<FrameLayout