activity_unlock design changed, settings and aboutpage überarbeitet etc.

This commit is contained in:
JG-Cody 2023-10-01 18:37:38 +02:00
parent d4162b3d32
commit fd2b993cbe
5 changed files with 51 additions and 22 deletions

View File

@ -4,7 +4,6 @@
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:id="@+id/app_background"
android:padding="16dp"> android:padding="16dp">
<TextView <TextView

View File

@ -22,6 +22,7 @@
android:layout_marginEnd="10dp" android:layout_marginEnd="10dp"
android:text="@string/app_name" android:text="@string/app_name"
android:textAlignment="center" android:textAlignment="center"
android:textSize="18sp"
android:textStyle="bold" /> android:textStyle="bold" />
<TextView <TextView
@ -48,9 +49,10 @@
android:layout_marginStart="16dp" android:layout_marginStart="16dp"
android:layout_marginTop="10dp" android:layout_marginTop="10dp"
android:layout_marginEnd="10dp" android:layout_marginEnd="10dp"
android:text="@string/license"
android:textAlignment="center" android:textAlignment="center"
android:textStyle="bold" android:textStyle="bold"
android:text="@string/license" /> android:textSize="18sp"/>
<TextView <TextView
android:id="@+id/app_license" android:id="@+id/app_license"
@ -78,7 +80,8 @@
android:layout_marginEnd="10dp" android:layout_marginEnd="10dp"
android:textAlignment="center" android:textAlignment="center"
android:textStyle="bold" android:textStyle="bold"
android:text="@string/contact" /> android:text="@string/contact"
android:textSize="18sp"/>
<TextView <TextView
android:id="@+id/mailto" android:id="@+id/mailto"
@ -106,7 +109,8 @@
android:layout_marginEnd="10dp" android:layout_marginEnd="10dp"
android:textAlignment="center" android:textAlignment="center"
android:textStyle="bold" android:textStyle="bold"
android:text="@string/quellcode" /> android:text="@string/appcode"
android:textSize="18sp"/>
<TextView <TextView
android:id="@+id/github" android:id="@+id/github"
@ -134,7 +138,8 @@
android:layout_marginEnd="10dp" android:layout_marginEnd="10dp"
android:textAlignment="center" android:textAlignment="center"
android:textStyle="bold" android:textStyle="bold"
android:text="@string/changelog" /> android:text="@string/changelog"
android:textSize="18sp"/>
<TextView <TextView
android:id="@+id/changelog_link" android:id="@+id/changelog_link"
@ -162,7 +167,8 @@
android:layout_marginEnd="10dp" android:layout_marginEnd="10dp"
android:textAlignment="center" android:textAlignment="center"
android:textStyle="bold" android:textStyle="bold"
android:text="@string/documentation" /> android:text="@string/documentation"
android:textSize="18sp"/>
<TextView <TextView
android:id="@+id/documentation_link" android:id="@+id/documentation_link"
@ -190,7 +196,8 @@
android:layout_marginEnd="10dp" android:layout_marginEnd="10dp"
android:textAlignment="center" android:textAlignment="center"
android:textStyle="bold" android:textStyle="bold"
android:text="@string/development" /> android:text="@string/development"
android:textSize="18sp"/>
<TextView <TextView
android:id="@+id/about_text" android:id="@+id/about_text"
@ -211,21 +218,24 @@
android:layout_marginEnd="10dp" android:layout_marginEnd="10dp"
android:orientation="horizontal"> android:orientation="horizontal">
<ImageView
android:id="@+id/about_jg_cody"
android:layout_width="20dp"
android:layout_height="match_parent"
android:layout_marginTop="10dp"
android:layout_weight="1"
android:src="@drawable/jgcody"/>
<ImageView <ImageView
android:id="@+id/about_cringe_studios" android:id="@+id/about_cringe_studios"
android:layout_width="20dp" android:layout_width="20dp"
android:layout_height="70dp" android:layout_height="70dp"
android:layout_marginTop="10dp" android:layout_marginTop="10dp"
android:layout_weight="1" android:layout_weight="1"
android:src="@drawable/cringestudios" /> android:src="@drawable/cringestudios"
app:tint="?android:attr/textColor"/>
<ImageView
android:id="@+id/about_jg_cody"
android:layout_width="20dp"
android:layout_height="match_parent"
android:layout_marginTop="10dp"
android:layout_weight="1"
android:src="@drawable/jgcody"
app:tint="?android:attr/textColor"/>
</LinearLayout> </LinearLayout>
<View <View
@ -244,7 +254,8 @@
android:layout_marginEnd="10dp" android:layout_marginEnd="10dp"
android:textAlignment="center" android:textAlignment="center"
android:textStyle="bold" android:textStyle="bold"
android:text="@string/support" /> android:text="@string/support"
android:textSize="18sp"/>
<TextView <TextView
android:id="@+id/patreon_link" android:id="@+id/patreon_link"

View File

@ -4,7 +4,6 @@
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="?android:attr/colorBackground"
tools:context=".fragment.HomeFragment" tools:context=".fragment.HomeFragment"
android:background="?android:attr/colorBackground"> android:background="?android:attr/colorBackground">

View File

@ -1,10 +1,13 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<string name="action_settings">Einstellungen</string> <string name="action_settings">Einstellungen</string>
<string name="show_images">Bilder Anzeigen</string>
<string name="delete_pack_title">Paket löschen</string>
<string name="delete_pack_message">Möchtest du das Symbolpaket wirklich löschen?</string>
<string name="no_icon_packs_installed">Aktuell sind keine Symbolpakete installiert!</string>
<string name="license">Lizenz</string> <string name="license">Lizenz</string>
<string name="contact">Kontakt</string> <string name="contact">Kontakt</string>
<string name="website">Webseite</string> <string name="website">Webseite</string>
<string name="development">Development</string>
<string name="action_about">Über</string> <string name="action_about">Über</string>
<string name="edit">Bearbeiten</string> <string name="edit">Bearbeiten</string>
<string name="choose_language">Sprachauswahl</string> <string name="choose_language">Sprachauswahl</string>
@ -71,6 +74,7 @@
<string name="unlock_cringe_authenticator">Authenticator entsperren</string> <string name="unlock_cringe_authenticator">Authenticator entsperren</string>
<string name="unlock">Entsperren</string> <string name="unlock">Entsperren</string>
<string name="unlock_using_biometrics">Mit Biometrie ensperren</string> <string name="unlock_using_biometrics">Mit Biometrie ensperren</string>
<string name="name">Name</string>
<string name="add_code">Code hinzufügen</string> <string name="add_code">Code hinzufügen</string>
<string name="settings">Einstellungen</string> <string name="settings">Einstellungen</string>
<string name="appearance">Aussehen</string> <string name="appearance">Aussehen</string>
@ -105,8 +109,10 @@
<string name="otp_add_type">Typ</string> <string name="otp_add_type">Typ</string>
<string name="otp_add_algorithm">Algorithmus</string> <string name="otp_add_algorithm">Algorithmus</string>
<string name="otp_add_digits">Ziffern</string> <string name="otp_add_digits">Ziffern</string>
<string name="quellcode">Quellcode</string> <string name="appcode">Quellcode</string>
<string name="development">Development</string>
<string name="support">Support</string> <string name="support">Support</string>
<string name="changelog">Änderungsprotokoll</string> <string name="changelog">Änderungsprotokoll</string>
<string name="documentation">Dokumentation</string> <string name="documentation">Dokumentation</string>
<string name="mail_to">Mail: info@code-guard.com</string>
</resources> </resources>

View File

@ -1,5 +1,5 @@
<resources> <resources>
<string name="app_name">Cringe Authenticator</string> <string name="app_name" translatable="false">Code Guard</string>
<string name="action_settings">Settings</string> <string name="action_settings">Settings</string>
<string name="action_about">About</string> <string name="action_about">About</string>
<string name="edit">Edit</string> <string name="edit">Edit</string>
@ -58,7 +58,7 @@
<string name="unlock_cringe_authenticator">Unlock Authenticator</string> <string name="unlock_cringe_authenticator">Unlock Authenticator</string>
<string name="unlock">Unlock</string> <string name="unlock">Unlock</string>
<string name="unlock_using_biometrics">Unlock using biometrics</string> <string name="unlock_using_biometrics">Unlock using biometrics</string>
<string name="name" translatable="false">Name</string> <string name="name">Name</string>
<string name="add_code">Add Code</string> <string name="add_code">Add Code</string>
<string name="settings">Settings</string> <string name="settings">Settings</string>
<string name="appearance">Appearance</string> <string name="appearance">Appearance</string>
@ -107,4 +107,18 @@
<string name="delete_pack_title">Delete pack</string> <string name="delete_pack_title">Delete pack</string>
<string name="delete_pack_message">Do you want to delete the icon pack?</string> <string name="delete_pack_message">Do you want to delete the icon pack?</string>
<string name="no_icon_packs_installed">No icon packs are currently installed</string> <string name="no_icon_packs_installed">No icon packs are currently installed</string>
<string name="license">License</string>
<string name="contact">Contact</string>
<string name="website">Website</string>
<string name="development">Development</string>
<string name="appcode">Appcode</string>
<string name="support">Support</string>
<string name="changelog">Changelog</string>
<string name="documentation">Documentation</string>
<string name="app_license" translatable="false">GNU General Public License, version 3.0</string>
<string name="mail_to">Mail: info@code-guard.com</string>
<string name="github" translatable="false">https://git.cringe-studios.com/CringeStudios/Code-Guard</string>
<string name="changelog_link" translatable="false">https://git.cringe-studios.com/CringeStudios/Code-Guard</string>
<string name="documentation_link" translatable="false">https://git.cringe-studios.com/CringeStudios/Code-Guard</string>
<string name="patreon_link" translatable="false">https://git.cringe-studios.com/CringeStudios/Code-Guard</string>
</resources> </resources>