From 98d693d48ad491b19d89e5d394c2e54a36731728 Mon Sep 17 00:00:00 2001 From: Torsten Grote Date: Mon, 22 Jun 2020 14:58:18 -0300 Subject: [wallet] Improve Anastasis UI mockup --- .../layout/fragment_anastasis_authentication.xml | 11 ++- .../res/layout/fragment_anastasis_identity.xml | 26 +++++- .../main/res/layout/fragment_security_question.xml | 100 +++++++++++++++++++++ wallet/src/main/res/layout/fragment_sms.xml | 51 +++++++++++ wallet/src/main/res/layout/fragment_video.xml | 89 ++++++++++++++++++ 5 files changed, 271 insertions(+), 6 deletions(-) create mode 100644 wallet/src/main/res/layout/fragment_security_question.xml create mode 100644 wallet/src/main/res/layout/fragment_sms.xml create mode 100644 wallet/src/main/res/layout/fragment_video.xml (limited to 'wallet/src/main/res/layout') diff --git a/wallet/src/main/res/layout/fragment_anastasis_authentication.xml b/wallet/src/main/res/layout/fragment_anastasis_authentication.xml index f8d1213..a83871a 100644 --- a/wallet/src/main/res/layout/fragment_anastasis_authentication.xml +++ b/wallet/src/main/res/layout/fragment_anastasis_authentication.xml @@ -42,6 +42,7 @@ android:checkable="true" android:clickable="true" android:focusable="true" + android:transitionName="question_card" app:cardElevation="4dp" app:cardUseCompatPadding="true" app:checkedIcon="@drawable/ic_baseline_check" @@ -56,7 +57,7 @@ android:id="@+id/passwordHeadline" android:layout_width="0dp" android:layout_height="wrap_content" - android:text="Password" + android:text="Security question" android:textAppearance="@style/TextAppearance.MaterialComponents.Headline5" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" @@ -67,7 +68,7 @@ android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginTop="8dp" - android:text="Provide your own password that you will need to enter to authenticate when recovering your backup." + android:text="Provide your own security question (and answer) that you will need to answer to authenticate when recovering your backup." app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" @@ -99,7 +100,7 @@ android:id="@+id/postidentHeadline" android:layout_width="0dp" android:layout_height="wrap_content" - android:text="Postident Verfahren" + android:text="Identification by mail" android:textAppearance="@style/TextAppearance.MaterialComponents.Headline5" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" @@ -110,7 +111,7 @@ android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginTop="8dp" - android:text="Die Postident-Verfahren sind Methoden der persönlichen Identifikation von Personen, die durch die Mitarbeiter der Deutschen Post AG vorgenommen werden. Man spricht beim Postident-Verfahren auch von einer unpersönlichen Legitimationsprüfung. " + android:text="Die Postident-Verfahren sind Methoden der persönlichen Identifikation von Personen, die durch die Mitarbeiter der Post vorgenommen werden. Man spricht beim Postident-Verfahren auch von einer unpersönlichen Legitimationsprüfung. " app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" @@ -129,6 +130,7 @@ android:checkable="true" android:clickable="true" android:focusable="true" + android:transitionName="sms_card" app:cardElevation="4dp" app:cardUseCompatPadding="true" app:checkedIcon="@drawable/ic_baseline_check" @@ -171,6 +173,7 @@ android:checkable="true" android:clickable="true" android:focusable="true" + android:transitionName="video_card" app:cardElevation="4dp" app:cardUseCompatPadding="true" app:checkedIcon="@drawable/ic_baseline_check" diff --git a/wallet/src/main/res/layout/fragment_anastasis_identity.xml b/wallet/src/main/res/layout/fragment_anastasis_identity.xml index 542a821..e24be31 100644 --- a/wallet/src/main/res/layout/fragment_anastasis_identity.xml +++ b/wallet/src/main/res/layout/fragment_anastasis_identity.xml @@ -39,7 +39,7 @@ android:layout_height="wrap_content" android:layout_margin="16dp" android:layout_marginTop="24dp" - android:text="To find your secret later, we create an anonymous identifier from unforgettable information about you.\n\nFeel free to lie as long as you will be able to provide exactly the same information when needing to restore." + android:text="To find your secret later, we create an anonymous identifier from unforgettable information about you.\n\nThis information will not be stored and not shared with anybody.\n\nFeel free to lie as long as you will be able to provide exactly the same information when needing to restore." app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toEndOf="@+id/imageView2" app:layout_constraintTop_toTopOf="parent" /> @@ -87,6 +87,7 @@ @@ -104,6 +105,7 @@ @@ -133,7 +135,6 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_margin="16dp" - app:layout_constraintBottom_toTopOf="@+id/createIdentifierButton" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/birthDateInput" @@ -148,6 +149,27 @@ + + + + + +