improve thresholdSelectorFragment

This commit is contained in:
ameba23
2021-03-08 13:45:02 +01:00
parent 378112c00c
commit 9beb4d7b81
3 changed files with 27 additions and 12 deletions

View File

@@ -39,11 +39,22 @@
android:layout_height="wrap_content"
android:layout_marginTop="24dp"
android:text="placeholder"
android:textSize="16dp"
android:textSize="64dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/seekBar" />
<TextView
android:id="@+id/textViewmOfn"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="24dp"
android:text="m of n contacts needed to recover your account"
android:textSize="16dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textViewThresholdRepresentation" />
<TextView
android:id="@+id/textViewMessage"
android:layout_width="wrap_content"
@@ -53,6 +64,6 @@
android:textSize="16dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textViewThresholdRepresentation" />
app:layout_constraintTop_toBottomOf="@+id/textViewmOfn" />
</androidx.constraintlayout.widget.ConstraintLayout>

View File

@@ -657,9 +657,9 @@
<string name="threshold">The minimum number of trusted contacts needed to restore your account:</string>
<string name="threshold_secure">Secure</string>
<string name="threshold_recommended">Secure - recommended threshold</string>
<string name="threshold_low_insecure">Insecure higher threshold recommended</string>
<string name="threshold_high_insecure">Danger of loss lower threshold recommended</string>
<!-- the next one does only appear when long-pressing the submit arrow in the app bar-->
<string name="threshold_defined">Choose Threshold</string>
<string name="backup_done_info">Backup pieces sent to trusted contacts</string>