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:
@@ -22,15 +22,23 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent">
|
||||||
|
|
||||||
<com.airbnb.lottie.LottieAnimationView
|
<com.google.android.setupdesign.view.FillContentLayout
|
||||||
android:id="@+id/illustration_lottie"
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="400dp"
|
android:layout_height="match_parent"
|
||||||
android:importantForAccessibility="no"
|
android:layout_gravity="center"
|
||||||
android:scaleType="centerInside"
|
android:maxHeight="400dp">
|
||||||
app:lottie_imageAssetsFolder="images"
|
|
||||||
app:lottie_autoPlay="true"
|
<com.airbnb.lottie.LottieAnimationView
|
||||||
app:lottie_loop="true"
|
android:id="@+id/illustration_lottie"
|
||||||
app:lottie_rawRes="@raw/udfps_edu_lottie" />
|
android:layout_width="match_parent"
|
||||||
|
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>
|
</com.google.android.setupdesign.GlifLayout>
|
||||||
|
|||||||
Reference in New Issue
Block a user