Update the material next style for AnimatedImagePreference.
Bug: 179451422 Test: manual test Change-Id: I7c54a1bddb26a4f5039e1ce543866d9dbd16da3b
This commit is contained in:
@@ -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>
|
Reference in New Issue
Block a user