Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b1138176 authored by Peter_Liang's avatar Peter_Liang
Browse files

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
parent b408e19f
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -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