Add placeholder animation for face enrolling
Bug: 111548033
Test: Builds
Change-Id: I0c8af1c24cc7c11f9d2c2a98b23d11b21b63547e
diff --git a/res/layout/face_enroll_introduction.xml b/res/layout/face_enroll_introduction.xml
index 4096925..b5f13db 100644
--- a/res/layout/face_enroll_introduction.xml
+++ b/res/layout/face_enroll_introduction.xml
@@ -50,12 +50,14 @@
android:layout_height="wrap_content"
android:layout_weight="1">
- <ImageView
+ <com.google.android.setupdesign.view.IllustrationVideoView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ android:id="@+id/face_enroll_introduction_animation"
style="@style/SudContentIllustration"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:contentDescription="@null"
- android:src="@drawable/face_enroll_introduction" />
+ app:sudVideo="@raw/face_enroll_introduction_animation" />
</com.google.android.setupdesign.view.FillContentLayout>
diff --git a/res/raw/face_enroll_introduction_animation.mp4 b/res/raw/face_enroll_introduction_animation.mp4
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/res/raw/face_enroll_introduction_animation.mp4