Update settings

This commit is contained in:
MrLetsplay 2023-10-04 16:15:01 +02:00
parent b5dbd1e7c4
commit 1c4fb08387
Signed by: mr
SSH Key Fingerprint: SHA256:92jBH80vpXyaZHjaIl47pjRq+Yt7XGTArqQg1V7hSqg
3 changed files with 36 additions and 2 deletions

View File

@ -13,6 +13,14 @@
android:orientation="vertical" android:orientation="vertical"
android:padding="16dp"> android:padding="16dp">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/localization"
android:textSize="16sp"
android:textStyle="bold" />
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -31,6 +39,14 @@
android:layout_marginVertical="10dp" android:layout_marginVertical="10dp"
android:background="@drawable/theme_gradient" /> android:background="@drawable/theme_gradient" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/security"
android:textSize="16sp"
android:textStyle="bold" />
<androidx.appcompat.widget.SwitchCompat <androidx.appcompat.widget.SwitchCompat
android:id="@+id/settings_enable_encryption" android:id="@+id/settings_enable_encryption"
android:layout_width="match_parent" android:layout_width="match_parent"
@ -67,6 +83,14 @@
android:layout_marginVertical="10dp" android:layout_marginVertical="10dp"
android:background="@drawable/theme_gradient" /> android:background="@drawable/theme_gradient" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/appearance"
android:textSize="16sp"
android:textStyle="bold" />
<androidx.appcompat.widget.SwitchCompat <androidx.appcompat.widget.SwitchCompat
android:id="@+id/settings_enable_intro_video" android:id="@+id/settings_enable_intro_video"
android:layout_width="match_parent" android:layout_width="match_parent"
@ -118,7 +142,10 @@
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/backups" /> android:gravity="center"
android:text="@string/backups"
android:textSize="16sp"
android:textStyle="bold" />
<androidx.appcompat.widget.AppCompatButton <androidx.appcompat.widget.AppCompatButton
android:id="@+id/settings_create_backup" android:id="@+id/settings_create_backup"
@ -147,7 +174,10 @@
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/settings_icon_packs" /> android:text="@string/settings_icon_packs"
android:gravity="center"
android:textSize="16sp"
android:textStyle="bold" />
<androidx.appcompat.widget.AppCompatButton <androidx.appcompat.widget.AppCompatButton
android:id="@+id/settings_load_icon_pack" android:id="@+id/settings_load_icon_pack"

View File

@ -161,4 +161,6 @@
<string name="otp_move">OTP verschieben</string> <string name="otp_move">OTP verschieben</string>
<string name="otp_delete">OTP löschen</string> <string name="otp_delete">OTP löschen</string>
<string name="close">Schließen</string> <string name="close">Schließen</string>
<string name="security">Sicherheit</string>
<string name="localization">Lokalisierung</string>
</resources> </resources>

View File

@ -167,6 +167,8 @@
<string name="otp_move">Move OTP</string> <string name="otp_move">Move OTP</string>
<string name="otp_delete">Delete OTP</string> <string name="otp_delete">Delete OTP</string>
<string name="close">Close</string> <string name="close">Close</string>
<string name="security">Security</string>
<string name="localization">Localization</string>
<string-array name="edit_otp_choose_image_options"> <string-array name="edit_otp_choose_image_options">
<item>Image from icon pack</item> <item>Image from icon pack</item>
<item>Image from gallery</item> <item>Image from gallery</item>