use system wallpaper

This commit is contained in:
Josia Pietsch 2024-07-05 04:36:30 +02:00
parent 7c945aa6c2
commit acacc1d6cd
Signed by: jrpie
GPG key ID: E70B571D66986A2D
51 changed files with 93 additions and 259 deletions

View file

@ -7,7 +7,6 @@
android:id="@+id/list_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/colorPrimary"
tools:context=".list.ListActivity">
<com.google.android.material.appbar.AppBarLayout
@ -15,6 +14,10 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:background="@null"
android:elevation="0dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">

View file

@ -12,6 +12,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:background="@null"
android:elevation="0dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">

View file

@ -11,6 +11,8 @@
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/settings_appbar"
android:background="@null"
android:elevation="0dp"
android:layout_width="match_parent"
android:layout_height="wrap_content">

View file

@ -4,7 +4,6 @@
android:id="@+id/settings_actions_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/colorPrimary"
android:paddingLeft="32sp"
android:paddingTop="16sp"
android:paddingRight="32sp">

View file

@ -9,7 +9,6 @@
android:id="@+id/settings_launcher_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/colorPrimary"
android:gravity="center|top"
android:orientation="vertical"
android:paddingLeft="32sp"
@ -49,7 +48,7 @@
android:text="@string/settings_launcher_time_format"
android:textSize="16sp" />
<Space
<android.widget.Space
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />
@ -76,7 +75,7 @@
android:text="@string/settings_launcher_theme"
android:textSize="16sp" />
<Space
<android.widget.Space
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />
@ -96,7 +95,7 @@
android:orientation="horizontal">
<Button
android:id="@+id/settings_theme_custom_button_select"
android:id="@+id/settings_launcher_button_choose_wallpaper"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/settings_launcher_choose_wallpaper"
@ -136,7 +135,7 @@
android:text="@string/settings_launcher_disable_timeout"
android:textSize="16sp" />
<Space
<android.widget.Space
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />
@ -165,7 +164,7 @@
android:text="@string/settings_launcher_full_screen"
android:textSize="16sp" />
<Space
<android.widget.Space
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />
@ -236,7 +235,7 @@
android:text="@string/settings_launcher_auto_launch"
android:textSize="16sp" />
<Space
<android.widget.Space
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />
@ -265,7 +264,7 @@
android:text="@string/settings_launcher_auto_keyboard"
android:textSize="16sp" />
<Space
<android.widget.Space
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />
@ -294,7 +293,7 @@
android:text="@string/settings_launcher_enable_double"
android:textSize="16sp" />
<Space
<android.widget.Space
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />

View file

@ -6,7 +6,6 @@
android:id="@+id/settings_meta_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/colorPrimary"
android:gravity="center|top"
android:orientation="vertical"
android:paddingLeft="32sp"

View file

@ -7,65 +7,20 @@
android:id="@+id/tutorial_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/colorPrimary"
tools:context=".tutorial.TutorialActivity">
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/tutorial_appbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:visibility="gone"
custom:layout_constraintEnd_toEndOf="parent"
custom:layout_constraintStart_toStartOf="parent"
custom:layout_constraintTop_toTopOf="parent">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:id="@+id/tutorial_heading"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:minHeight="?actionBarSize"
android:padding="@dimen/appbar_padding"
android:text="@string/tutorial_title"
android:textAppearance="@style/TextAppearance.Widget.AppCompat.Toolbar.Title"
custom:layout_constraintEnd_toEndOf="parent"
custom:layout_constraintStart_toStartOf="parent"
custom:layout_constraintTop_toTopOf="parent" />
<de.jrpie.android.launcher.libraries.FontAwesome
android:id="@+id/tutorial_close"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginRight="8dp"
android:gravity="center"
android:includeFontPadding="true"
android:paddingLeft="16sp"
android:paddingRight="16sp"
android:text="@string/fa_close_window"
android:textColor="?attr/colorAccent"
android:textSize="22sp"
custom:layout_constraintBottom_toBottomOf="parent"
custom:layout_constraintEnd_toEndOf="parent"
custom:layout_constraintTop_toTopOf="parent"
custom:type="solid" />
</androidx.constraintlayout.widget.ConstraintLayout>
</com.google.android.material.appbar.AppBarLayout>
<androidx.viewpager.widget.ViewPager
android:id="@+id/tutorial_viewpager"
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
app:layout_constraintBottom_toTopOf="@id/tutorial_tabs"
app:layout_constraintBottom_toTopOf="@+id/tutorial_tabs"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tutorial_appbar" />
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.0" />
<com.google.android.material.tabs.TabLayout
android:id="@+id/tutorial_tabs"

View file

@ -8,7 +8,6 @@
android:paddingRight="32sp"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/colorPrimary"
tools:context=".tutorial.tabs.TutorialFragmentConcept">
<TextView

View file

@ -9,7 +9,6 @@
android:paddingRight="32sp"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/colorPrimary"
tools:context=".tutorial.tabs.TutorialFragmentFinish">
<TextView

View file

@ -6,7 +6,6 @@
android:id="@+id/tutorial_setup_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/colorPrimary"
android:paddingLeft="32sp"
android:paddingRight="32sp"
tools:context=".tutorial.tabs.TutorialFragmentSetup">

View file

@ -8,20 +8,8 @@
android:paddingRight="32sp"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/colorPrimary"
tools:context=".tutorial.tabs.TutorialFragmentStart">
<de.jrpie.android.launcher.libraries.FontAwesome
android:id="@+id/tutorial_start_icon_right_2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/fas_angle_double_right"
android:textSize="64sp"
app:layout_constraintBottom_toTopOf="@id/tutorial_start_text"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/tutorial_start_text"
android:layout_width="wrap_content"
@ -34,11 +22,11 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<de.jrpie.android.launcher.libraries.FontAwesome
<TextView
android:id="@+id/tutorial_start_icon_right"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/fas_angle_double_right"
android:text=">>>>>>"
android:textSize="64sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"

View file

@ -5,7 +5,6 @@
android:id="@+id/tutorial_usage_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/colorPrimary"
android:paddingLeft="32sp"
android:paddingRight="32sp"
tools:context=".tutorial.tabs.TutorialFragmentUsage">

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 101 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

View file

@ -67,7 +67,6 @@
<string-array name="settings_launcher_theme_spinner_items">
<item>Standard</item>
<item>Dunkel</item>
<item>Hintergrund</item>
</string-array>
<string name="settings_launcher_choose_wallpaper">Hintergrund auswählen</string>

View file

@ -91,7 +91,6 @@
<string-array name="settings_launcher_theme_spinner_items">
<item>Normal</item>
<item>Oscuro</item>
<item>Fondo de pantalla</item>
</string-array>
<string name="settings_launcher_choose_wallpaper">Seleccionar fondo de pantalla</string>

View file

@ -67,7 +67,6 @@
<string-array name="settings_launcher_theme_spinner_items">
<item>Défaut</item>
<item>Noir</item>
<item>Image de fond</item>
</string-array>
<string name="settings_launcher_choose_wallpaper">Choisir un image</string>

View file

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="baseTheme" parent="Theme.AppCompat.Light.NoActionBar">
<item name="colorPrimary">@color/finnmglasTheme_background_color</item>
<item name="colorPrimaryDark">@color/finnmglasTheme_background_color</item>
<item name="android:colorBackground">@color/finnmglasTheme_background_color</item>
<item name="android:statusBarColor">@android:color/transparent</item>
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowShowWallpaper">true</item>
<item name="colorAccent">#555</item>
<item name="android:textColor">#ffffff</item>
<item name="android:textColorSecondary">@color/finnmglasTheme_text_color</item>
<item name="android:textColorPrimary">@color/finnmglasTheme_text_color</item>
<item name="android:textColorHint">#555</item>
<item name="android:fontFamily">@font/hack</item>
<item name="android:buttonStyle">@style/Widget.AppCompat.Button.Colored</item>
<item name="colorButtonNormal">#555</item>
<item name="android:popupMenuStyle">@style/PopupMenuCustom</item>
<item name="android:windowDisablePreview">true</item>
<item name="android:windowAnimationStyle">@style/WindowFadeTransition</item>
</style>
</resources>

View file

@ -22,7 +22,7 @@
<string name="fas_forward" translatable="false">&#xf051;</string>
<string name="fas_angle_double_left" translatable="false">&#xf100;</string>
<string name="fas_angle_double_right" translatable="false">&#xf101;</string>
<string name="fas_angle_double_right" translatable="false">">>"</string>
<string name="fas_angle_double_up" translatable="false">&#xf102;</string>
<string name="fas_angle_double_down" translatable="false">&#xf103;</string>
<string name="fas_store" translatable="false">&#xf54e;</string>

View file

@ -89,7 +89,6 @@
<string-array name="settings_launcher_theme_spinner_items">
<item>Default</item>
<item>Dark</item>
<item>Wallpaper</item>
</string-array>
<string name="settings_launcher_choose_wallpaper">Choose a wallpaper</string>
@ -128,7 +127,7 @@
<string name="settings_meta_report_bug_link" translatable="false">https://github.com/jrpie/Launcher/issues/new</string>
<string name="settings_meta_fork_contact">Contact the developer of the fork</string>
<string name="settings_meta_fork_contact_url">https://jrpie.de/contact/</string>
<string name="settings_meta_fork_contact_url" translatable="false">https://s.jrpie.de/contact/</string>
<string name="settings_meta_contact">Contact the original developer</string>
<string name="settings_meta_contact_url">https://www.finnmglas.com/contact/</string>

View file

@ -13,6 +13,11 @@
<item name="colorPrimaryDark">@color/finnmglasTheme_background_color</item>
<item name="android:colorBackground">@color/finnmglasTheme_background_color</item>
<item name="android:statusBarColor">@null</item>
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowShowWallpaper">true</item>
<item name="colorAccent">#555</item>
<item name="android:textColor">#ffffff</item>
@ -27,10 +32,12 @@
<item name="android:popupMenuStyle">@style/PopupMenuCustom</item>
<item name="android:windowDisablePreview">true</item>
<item name="android:windowAnimationStyle">@style/WindowFadeTransition</item>
</style>
<style name="PopupMenuCustom" parent="@android:style/Widget.PopupMenu">
<item name="android:popupBackground">#252827</item>
</style>