From 4e0b666d8458a4185208f632439f09f5f23cec91 Mon Sep 17 00:00:00 2001 From: Pavel Baksy Date: Fri, 9 Feb 2024 20:45:41 +0100 Subject: [PATCH] Add new text strings --- .idea/deploymentTargetDropDown.xml | 15 ++++++++++++++- app/src/main/res/layout/activity_main.xml | 6 +++--- app/src/main/res/values/strings.xml | 3 +++ 3 files changed, 20 insertions(+), 4 deletions(-) diff --git a/.idea/deploymentTargetDropDown.xml b/.idea/deploymentTargetDropDown.xml index 0c0c338..2051b41 100644 --- a/.idea/deploymentTargetDropDown.xml +++ b/.idea/deploymentTargetDropDown.xml @@ -3,7 +3,20 @@ - + + + + + + + + + + + + + + diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index e2b8847..3d461bd 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -30,7 +30,7 @@ android:id="@+id/passwordLengthLabel" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="Password Length" + android:text="@string/textview_password_length" android:layout_marginTop="32dp" app:layout_constraintBottom_toTopOf="@id/switchWithoutSpaces" app:layout_constraintStart_toStartOf="parent"/> @@ -48,7 +48,7 @@ android:id="@+id/switchWithoutSpaces" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="Copy Without Spaces" + android:text="@string/switch_without_spaces" android:layout_marginTop="16dp" app:layout_constraintBottom_toTopOf="@id/switchSpecialChars" app:layout_constraintStart_toStartOf="parent" @@ -58,7 +58,7 @@ android:id="@+id/switchSpecialChars" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="Add Special Characters" + android:text="@string/switch_special_characters" android:layout_marginTop="16dp" app:layout_constraintBottom_toTopOf="@id/generateButton" app:layout_constraintStart_toStartOf="parent" diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index e61452f..96dcb2b 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -2,4 +2,7 @@ Password Zebra Generate Tap to copy password to clipboard + Password Length + Copy Without Spaces + Add Special Characters \ No newline at end of file