Backgrounddesign überarbeitet

This commit is contained in:
JG-Cody 2023-09-20 19:40:05 +02:00
parent e3698fd044
commit 041513fb30
11 changed files with 18 additions and 8 deletions

View File

@ -16,7 +16,7 @@ public class ThemeUtil {
} }
// TODO: use settings // TODO: use settings
AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_NO); //AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_NO);
} }
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 MiB

View File

@ -2,9 +2,6 @@
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item> <item>
<shape xmlns:android="http://schemas.android.com/apk/res/android"> <shape xmlns:android="http://schemas.android.com/apk/res/android">
<stroke
android:width="0dp"
android:color="#FFFFFF" />
<gradient <gradient
android:angle="90" android:angle="90"
android:startColor="?attr/colorTheme1" android:startColor="?attr/colorTheme1"
@ -22,10 +19,8 @@
android:right="0dp" android:right="0dp"
android:top="0dp"> android:top="0dp">
<shape xmlns:android="http://schemas.android.com/apk/res/android"> <shape xmlns:android="http://schemas.android.com/apk/res/android">
<stroke <solid
android:width="0dp" android:color="?attr/colorOnBackground" />
android:color="#FFFFFF" />
<solid android:color="?attr/colorOnBackground" />
<corners <corners
android:bottomLeftRadius="20dp" android:bottomLeftRadius="20dp"
android:bottomRightRadius="20dp" android:bottomRightRadius="20dp"

View File

@ -5,6 +5,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:fitsSystemWindows="true" android:fitsSystemWindows="true"
android:background="@drawable/background_blue_green"
tools:context=".MainActivity"> tools:context=".MainActivity">
<com.google.android.material.appbar.AppBarLayout <com.google.android.material.appbar.AppBarLayout

View File

@ -65,5 +65,18 @@
android:paddingTop="10dp" android:paddingTop="10dp"
android:paddingBottom="10dp" /> android:paddingBottom="10dp" />
<TextView
android:id="@+id/textView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/appearance" />
<Spinner
android:id="@+id/settings_appearance"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="10dp"
android:paddingBottom="10dp" />
</LinearLayout> </LinearLayout>
</androidx.core.widget.NestedScrollView> </androidx.core.widget.NestedScrollView>

View File

@ -61,6 +61,7 @@
<string name="name" translatable="false">Name</string> <string name="name" translatable="false">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="developed_by">Developed by Cringe Studios and JG-Cody</string> <string name="developed_by">Developed by Cringe Studios and JG-Cody</string>
<string-array name="view_edit_move_delete"> <string-array name="view_edit_move_delete">
<item>View</item> <item>View</item>