From 2635be7dc13930484fb757a446f0a4b03205a124 Mon Sep 17 00:00:00 2001 From: Severiano Jaramillo Date: Tue, 16 Jan 2018 10:22:25 -0600 Subject: [PATCH] Fixed BackupsSettingsFragment buttons' padding and strings --- .../res/layout/fragment_backups_settings.xml | 17 ++++++++++------- app/src/main/res/values/strings.xml | 2 ++ 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/app/src/main/res/layout/fragment_backups_settings.xml b/app/src/main/res/layout/fragment_backups_settings.xml index 569a63c..69474cb 100644 --- a/app/src/main/res/layout/fragment_backups_settings.xml +++ b/app/src/main/res/layout/fragment_backups_settings.xml @@ -23,8 +23,9 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="16dp" - android:padding="8dp" - android:text="CREATE A BACKUP" + android:paddingStart="16dp" + android:paddingEnd="16dp" + android:text="@string/create_a_backup" android:textStyle="bold" android:textColor="@color/white" android:background="@color/colorPrimary" @@ -47,8 +48,9 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="16dp" - android:padding="8dp" - android:text="View & Copy" + android:paddingStart="16dp" + android:paddingEnd="16dp" + android:text="@string/view_and_copy" android:textStyle="bold" android:textColor="@color/white" android:background="@color/colorPrimary" @@ -61,7 +63,7 @@ android:layout_height="wrap_content" android:layout_marginTop="24dp" android:text="@string/wif_key_description" - android:textSize="15dp" + android:textSize="15sp" app:layout_constraintTop_toBottomOf="@id/btnBrainkey" app:layout_constraintStart_toStartOf="@id/tvBrainkey" app:layout_constraintEnd_toEndOf="@id/tvBrainkey" /> @@ -71,8 +73,9 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="16dp" - android:padding="8dp" - android:text="View & Copy" + android:paddingStart="16dp" + android:paddingEnd="16dp" + android:text="@string/view_and_copy" android:textStyle="bold" android:textColor="@color/white" android:background="@color/colorPrimary" diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index b663d75..cb62013 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -476,4 +476,6 @@ Bin file. Always save your backup .bin file to a secret MicroSD card or USB Stick. Brainkey. Account recovery words that can be captured or copied, but not edited. WIF Key (Advanced). A long string of cryptic text that can be used with other Wallets. + CREATE A BACKUP +