Messaging for seedphrase backup

This commit is contained in:
fekt
2022-12-03 23:11:59 -05:00
parent 5696b62c8b
commit 30d2017bd3
8 changed files with 35 additions and 6 deletions

View File

@@ -12,7 +12,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
app:layout_constraintGuide_percent="0.667" />
app:layout_constraintGuide_percent="0.75" />
<!-- Address parts -->
@@ -363,14 +363,15 @@ text_address_part_3, text_address_part_6, text_address_part_9, text_address_part
<!-- Choose release names from here https://en.wikipedia.org/wiki/List_of_woods -->
<TextView
android:id="@+id/text_message"
style="@style/TextAppearance.MaterialComponents.Headline6"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@style/TextAppearance.MaterialComponents.Headline6"
android:gravity="center"
android:paddingStart="32dp"
android:paddingEnd="32dp"
android:text="@string/backup_instruction_store_words"
android:textColor="@color/zcashWhite"
android:textSize="16sp"
app:layout_constraintBottom_toTopOf="@id/guideline_buttons"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
@@ -380,7 +381,19 @@ text_address_part_3, text_address_part_6, text_address_part_9, text_address_part
android:id="@+id/button_positive"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:minWidth="320dp"
android:text="@string/backup_button_primary"
android:textColor="@color/text_light"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/button_seedphrase_more_info" />
<com.google.android.material.button.MaterialButton
android:id="@+id/button_seedphrase_more_info"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:minWidth="320dp"
android:text="@string/backup_button_more_info"
android:textColor="@color/text_dark"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"

View File

@@ -210,7 +210,7 @@
android:id="@+id/text_banner_message"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginBottom="64dp"
android:layout_marginBottom="102dp"
android:background="@drawable/background_banner"
android:elevation="6dp"
android:paddingStart="16dp"

View File

@@ -282,6 +282,10 @@
android:id="@+id/nav_backup"
android:name="cash.z.ecc.android.ui.setup.BackupFragment"
tools:layout="@layout/fragment_backup" >
<activity
android:id="@+id/button_seedphrase_more_info"
app:action="android.intent.action.VIEW"
app:data="@string/seedphrase_more_info_url" />
</fragment>
<fragment

View File

@@ -5,7 +5,8 @@
<!-- Manual -->
<string name="custom_translation_verify">Verify</string>
<string name="custom_translation_verify">I have written down my seed phrase and stored securely</string>
<string name="custom_translation_seedphrase_more_info">More information</string>
<string name="custom_translation_birthday">Birthday Height: %1$,d</string>
<string name="custom_translation_expecting">Expecting</string>
<string name="custom_translation_syncing">Downloading…%1$d%%</string>

View File

@@ -6,9 +6,9 @@
<!-- ======================================================================================= -->
<string name="missing_cancel">Cancel</string>
<string name="missing_backup_instruction_store_words">Store these backup words securely.</string>
<string name="missing_backup_instruction_store_words">Write down these 24 words on paper. Make sure you write them in the correct order and don\'t misspell any words. Make a copy of that paper and store them securely in at least 2 physical locations</string>
<string name="missing_backup_slogan">empowering\neveryone\nwith\neconomic\nfreedom</string>
<string name="missing_backup_verification_not_implemented">Backup verification coming soon!</string>
<string name="missing_backup_verification_not_implemented">You may lose all your funds if you didn\'t actually backup! Be smart and responsible!</string>
<!-- -->
<!-- SCREENS -->

View File

@@ -13,6 +13,7 @@
<!-- Screen: Backup -->
<string name="backup_button_done">@string/translated_button_done</string>
<string name="backup_button_primary">@string/custom_translation_verify</string>
<string name="backup_button_more_info">@string/custom_translation_seedphrase_more_info</string>
<string name="backup_format_birthday_height">@string/custom_translation_birthday</string>
<string name="backup_instruction_store_words">@string/missing_backup_instruction_store_words</string>
<string name="backup_slogan">@string/missing_backup_slogan</string>