Use Lottie animation for traffic light face education
Test: Manual Bug: 182716681 Change-Id: Ia4c9dea5c900c71ec7eca7946cf090fd02b436e2
This commit is contained in:
@@ -41,12 +41,22 @@
|
||||
android:layout_marginVertical="12dp">
|
||||
|
||||
<com.google.android.setupdesign.view.IllustrationVideoView
|
||||
android:id="@+id/illustration_normal"
|
||||
android:id="@+id/illustration_default"
|
||||
style="@style/SudContentIllustration"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:sudVideo="@raw/face_education"/>
|
||||
|
||||
<com.airbnb.lottie.LottieAnimationView
|
||||
android:id="@+id/illustration_lottie"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="340dp"
|
||||
android:scaleType="fitCenter"
|
||||
android:visibility="invisible"
|
||||
app:lottie_autoPlay="true"
|
||||
app:lottie_loop="true"
|
||||
app:lottie_rawRes="@raw/face_education_lottie" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/illustration_accessibility"
|
||||
android:layout_width="wrap_content"
|
||||
|
Reference in New Issue
Block a user