Merge changes I57306532,I1fba7ee1 into sc-v2-dev am: 4cddfd2b00
am: 976b30afe3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15478953 Change-Id: I80bb3f0e0d9617dadb3814f2bce8b19d4bb899a9
This commit is contained in:
@@ -53,11 +53,9 @@
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/image"
|
||||
android:layout_width="@dimen/accessibility_imageview_size"
|
||||
android:layout_height="@dimen/accessibility_imageview_size"
|
||||
android:layout_marginStart="44dp"
|
||||
android:scaleType="fitCenter" />
|
||||
<include layout="@layout/accessibility_lottie_animation_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="44dp"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
39
res/layout/accessibility_lottie_animation_view.xml
Normal file
39
res/layout/accessibility_lottie_animation_view.xml
Normal file
@@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2021 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License
|
||||
-->
|
||||
|
||||
<FrameLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/illustration_frame"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/image_background"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:maxHeight="@dimen/accessibility_imageview_size"
|
||||
android:src="@drawable/protection_background"
|
||||
android:adjustViewBounds="true"/>
|
||||
|
||||
<com.airbnb.lottie.LottieAnimationView
|
||||
android:id="@+id/image"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:maxHeight="@dimen/accessibility_imageview_size"
|
||||
android:adjustViewBounds="true"/>
|
||||
|
||||
</FrameLayout>
|
Reference in New Issue
Block a user