Update the material next style for AnimatedImagePreference. am: db1d3d2a47

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14928753

Change-Id: Ifa5cb68a9f9b64d57aa817ef1272b02e2571f323
This commit is contained in:
Peter_Liang
2021-06-14 03:11:43 +00:00
committed by Automerger Merge Worker

View File

@@ -15,30 +15,31 @@
limitations under the License. limitations under the License.
--> -->
<FrameLayout <LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="@dimen/settingslib_illustration_height"
android:clipToPadding="false" android:gravity="center"
android:padding="@dimen/settingslib_illustration_padding"
android:orientation="vertical"
android:importantForAccessibility="noHideDescendants"> android:importantForAccessibility="noHideDescendants">
<ImageView <ImageView
android:id="@+id/animated_img" android:id="@+id/animated_img"
android:layout_width="match_parent" android:maxWidth="@dimen/settingslib_illustration_width"
android:layout_height="wrap_content" android:layout_width="wrap_content"
android:layout_gravity="center" android:layout_height="match_parent"
android:background="@drawable/protection_background"
android:scaleType="fitCenter" android:scaleType="fitCenter"
android:focusable="false"
android:clickable="false"
android:adjustViewBounds="true"/> android:adjustViewBounds="true"/>
<com.airbnb.lottie.LottieAnimationView <com.airbnb.lottie.LottieAnimationView
android:id="@+id/lottie_view" android:id="@+id/lottie_view"
android:layout_width="412dp" android:maxWidth="@dimen/settingslib_illustration_width"
android:layout_height="300dp" android:layout_width="wrap_content"
android:layout_gravity="center" android:layout_height="match_parent"
android:background="@drawable/protection_background" android:background="@drawable/protection_background"
android:scaleType="fitCenter" android:scaleType="fitCenter"
android:adjustViewBounds="true" android:adjustViewBounds="true"
android:clipToOutline="true"/> android:clipToOutline="true"/>
</FrameLayout> </LinearLayout>