Settings: Improve udfps enroll introduction layout

Avoid scrolling by making the illustration fit available space.

Change-Id: I5300875b7790ee3664eff22d3517289ed04ef696
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Dmitrii <bankersenator@gmail.com>
This commit is contained in:
Adithya R
2025-01-15 17:53:20 +01:00
committed by Joey
parent a903b82237
commit f840809b4c

View File

@@ -22,15 +22,23 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.google.android.setupdesign.view.FillContentLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:maxHeight="400dp">
<com.airbnb.lottie.LottieAnimationView
android:id="@+id/illustration_lottie"
android:layout_width="match_parent"
android:layout_height="400dp"
android:layout_height="match_parent"
android:layout_gravity="center"
android:importantForAccessibility="no"
android:scaleType="centerInside"
app:lottie_imageAssetsFolder="images"
app:lottie_autoPlay="true"
app:lottie_loop="true"
app:lottie_rawRes="@raw/udfps_edu_lottie" />
</com.google.android.setupdesign.view.FillContentLayout>
</com.google.android.setupdesign.GlifLayout>