From f25830b9cc4ef30a5667270fc2534aeff266a9ee Mon Sep 17 00:00:00 2001 From: Kevin Chyn Date: Mon, 18 Mar 2019 17:38:12 -0700 Subject: [PATCH] Update enrollment intro 1) Toggles resources between normal and accessibility enrollment 2) Add footer for more detail text Fixes: 127514618 Bug: 111548033 Test: Builds Change-Id: Ib0c47f04abc5ce9abbd8b27ef5782d1874379f16 --- res/drawable/face_enroll_introduction.xml | 31 +++++- .../ic_face_enroll_introduction_detail.xml | 30 ++++++ res/layout/face_enroll_introduction.xml | 99 +++++++++++++------ res/values/strings.xml | 4 +- .../face/FaceEnrollAccessibilityToggle.java | 9 ++ .../face/FaceEnrollIntroduction.java | 43 +++++++- 6 files changed, 174 insertions(+), 42 deletions(-) create mode 100644 res/drawable/ic_face_enroll_introduction_detail.xml diff --git a/res/drawable/face_enroll_introduction.xml b/res/drawable/face_enroll_introduction.xml index 4493d661c2f..6065f237237 100644 --- a/res/drawable/face_enroll_introduction.xml +++ b/res/drawable/face_enroll_introduction.xml @@ -1,3 +1,4 @@ + - + android:width="240dp" + android:height="240dp" + android:viewportWidth="300" + android:viewportHeight="300"> + + + + + + \ No newline at end of file diff --git a/res/drawable/ic_face_enroll_introduction_detail.xml b/res/drawable/ic_face_enroll_introduction_detail.xml new file mode 100644 index 00000000000..7159148f830 --- /dev/null +++ b/res/drawable/ic_face_enroll_introduction_detail.xml @@ -0,0 +1,30 @@ + + + + + + + + \ No newline at end of file diff --git a/res/layout/face_enroll_introduction.xml b/res/layout/face_enroll_introduction.xml index b5f13db2ab9..b55041ae19a 100644 --- a/res/layout/face_enroll_introduction.xml +++ b/res/layout/face_enroll_introduction.xml @@ -27,7 +27,7 @@ @@ -45,50 +45,87 @@ android:layout_width="match_parent" android:layout_height="wrap_content" /> - - - - - + -