summaryrefslogtreecommitdiff
path: root/wallet/src/main/res/layout/fragment_anastasis_identity.xml
diff options
context:
space:
mode:
authorTorsten Grote <t@grobox.de>2020-06-22 14:58:18 -0300
committerTorsten Grote <t@grobox.de>2020-06-22 14:58:47 -0300
commit98d693d48ad491b19d89e5d394c2e54a36731728 (patch)
tree7d99fd01c6d681abd6314cfb0b202c436690d0c2 /wallet/src/main/res/layout/fragment_anastasis_identity.xml
parenta9b2ec4f35851c26bbe4f62a2e7fa17d9ee79576 (diff)
downloadtaler-android-98d693d48ad491b19d89e5d394c2e54a36731728.tar.gz
taler-android-98d693d48ad491b19d89e5d394c2e54a36731728.tar.bz2
taler-android-98d693d48ad491b19d89e5d394c2e54a36731728.zip
[wallet] Improve Anastasis UI mockup
Diffstat (limited to 'wallet/src/main/res/layout/fragment_anastasis_identity.xml')
-rw-r--r--wallet/src/main/res/layout/fragment_anastasis_identity.xml26
1 files changed, 24 insertions, 2 deletions
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 @@
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:inputType="textPersonName|textCapWords"
android:hint="Name" />
</com.google.android.material.textfield.TextInputLayout>
@@ -104,6 +105,7 @@
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:inputType="text|textCapWords"
android:hint="Place of birth" />
</com.google.android.material.textfield.TextInputLayout>
@@ -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 @@
</com.google.android.material.textfield.TextInputLayout>
+ <com.google.android.material.textfield.TextInputLayout
+ android:id="@+id/taxIdInput"
+ style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
+ 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/idNumberInput"
+ app:layout_constraintVertical_bias="0.0">
+
+ <com.google.android.material.textfield.TextInputEditText
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:hint="Tax ID number"
+ android:inputType="number"
+ android:maxLength="13" />
+
+ </com.google.android.material.textfield.TextInputLayout>
+
<Button
android:id="@+id/createIdentifierButton"
android:layout_width="wrap_content"