mirror of
https://github.com/jrpie/Launcher.git
synced 2025-04-19 02:10:54 +02:00
Implemented #2
Color theme, font, background and monochrome icons can now be set independently.
This commit is contained in:
parent
870ee56b88
commit
99acdba262
45 changed files with 350 additions and 197 deletions
|
@ -1,5 +1,5 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="24dp" android:tint="#FFFFFF" android:viewportHeight="24" android:viewportWidth="24" android:width="24dp">
|
||||
|
||||
<path android:fillColor="@android:color/white" android:pathData="M19,6.41L17.59,5 12,10.59 6.41,5 5,6.41 10.59,12 5,17.59 6.41,19 12,13.41 17.59,19 19,17.59 13.41,12z"/>
|
||||
<path android:fillColor="?android:textColor" android:pathData="M19,6.41L17.59,5 12,10.59 6.41,5 5,6.41 10.59,12 5,17.59 6.41,19 12,13.41 17.59,19 19,17.59 13.41,12z"/>
|
||||
|
||||
</vector>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="24dp" android:tint="#FFFFFF" android:viewportHeight="24" android:viewportWidth="24" android:width="24dp">
|
||||
|
||||
<path android:fillColor="@android:color/white" android:pathData="M3,18h18v-2L3,16v2zM3,13h18v-2L3,11v2zM3,6v2h18L21,6L3,6z"/>
|
||||
<path android:fillColor="?android:textColor" android:pathData="M3,18h18v-2L3,16v2zM3,13h18v-2L3,11v2zM3,6v2h18L21,6L3,6z"/>
|
||||
|
||||
</vector>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="24dp" android:tint="#FFFFFF" android:viewportHeight="24" android:viewportWidth="24" android:width="24dp">
|
||||
|
||||
<path android:fillColor="@android:color/white" android:pathData="M6,10c-1.1,0 -2,0.9 -2,2s0.9,2 2,2 2,-0.9 2,-2 -0.9,-2 -2,-2zM18,10c-1.1,0 -2,0.9 -2,2s0.9,2 2,2 2,-0.9 2,-2 -0.9,-2 -2,-2zM12,10c-1.1,0 -2,0.9 -2,2s0.9,2 2,2 2,-0.9 2,-2 -0.9,-2 -2,-2z"/>
|
||||
<path android:fillColor="?android:textColor" android:pathData="M6,10c-1.1,0 -2,0.9 -2,2s0.9,2 2,2 2,-0.9 2,-2 -0.9,-2 -2,-2zM18,10c-1.1,0 -2,0.9 -2,2s0.9,2 2,2 2,-0.9 2,-2 -0.9,-2 -2,-2zM12,10c-1.1,0 -2,0.9 -2,2s0.9,2 2,2 2,-0.9 2,-2 -0.9,-2 -2,-2z"/>
|
||||
|
||||
</vector>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="24dp" android:tint="#FFFFFF" android:viewportHeight="24" android:viewportWidth="24" android:width="24dp">
|
||||
|
||||
<path android:fillColor="@android:color/white" android:pathData="M12,2C6.48,2 2,6.48 2,12s4.48,10 10,10 10,-4.48 10,-10S17.52,2 12,2zM12,20c-4.42,0 -8,-3.58 -8,-8 0,-1.85 0.63,-3.55 1.69,-4.9L16.9,18.31C15.55,19.37 13.85,20 12,20zM18.31,16.9L7.1,5.69C8.45,4.63 10.15,4 12,4c4.42,0 8,3.58 8,8 0,1.85 -0.63,3.55 -1.69,4.9z"/>
|
||||
<path android:fillColor="?android:textColor" android:pathData="M12,2C6.48,2 2,6.48 2,12s4.48,10 10,10 10,-4.48 10,-10S17.52,2 12,2zM12,20c-4.42,0 -8,-3.58 -8,-8 0,-1.85 0.63,-3.55 1.69,-4.9L16.9,18.31C15.55,19.37 13.85,20 12,20zM18.31,16.9L7.1,5.69C8.45,4.63 10.15,4 12,4c4.42,0 8,3.58 8,8 0,1.85 -0.63,3.55 -1.69,4.9z"/>
|
||||
|
||||
</vector>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="24dp" android:tint="#FFFFFF" android:viewportHeight="24" android:viewportWidth="24" android:width="24dp">
|
||||
|
||||
<path android:fillColor="@android:color/white" android:pathData="M12,22c1.1,0 2,-0.9 2,-2h-4c0,1.1 0.89,2 2,2zM18,16v-5c0,-3.07 -1.64,-5.64 -4.5,-6.32L13.5,4c0,-0.83 -0.67,-1.5 -1.5,-1.5s-1.5,0.67 -1.5,1.5v0.68C7.63,5.36 6,7.92 6,11v5l-2,2v1h16v-1l-2,-2z"/>
|
||||
<path android:fillColor="?android:textColor" android:pathData="M12,22c1.1,0 2,-0.9 2,-2h-4c0,1.1 0.89,2 2,2zM18,16v-5c0,-3.07 -1.64,-5.64 -4.5,-6.32L13.5,4c0,-0.83 -0.67,-1.5 -1.5,-1.5s-1.5,0.67 -1.5,1.5v0.68C7.63,5.36 6,7.92 6,11v5l-2,2v1h16v-1l-2,-2z"/>
|
||||
|
||||
</vector>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="24dp" android:tint="#FFFFFF" android:viewportHeight="24" android:viewportWidth="24" android:width="24dp">
|
||||
|
||||
<path android:fillColor="@android:color/white" android:pathData="M15.5,14h-0.79l-0.28,-0.27C15.41,12.59 16,11.11 16,9.5 16,5.91 13.09,3 9.5,3S3,5.91 3,9.5 5.91,16 9.5,16c1.61,0 3.09,-0.59 4.23,-1.57l0.27,0.28v0.79l5,4.99L20.49,19l-4.99,-5zM9.5,14C7.01,14 5,11.99 5,9.5S7.01,5 9.5,5 14,7.01 14,9.5 11.99,14 9.5,14z"/>
|
||||
<path android:fillColor="?android:textColor" android:pathData="M15.5,14h-0.79l-0.28,-0.27C15.41,12.59 16,11.11 16,9.5 16,5.91 13.09,3 9.5,3S3,5.91 3,9.5 5.91,16 9.5,16c1.61,0 3.09,-0.59 4.23,-1.57l0.27,0.28v0.79l5,4.99L20.49,19l-4.99,-5zM9.5,14C7.01,14 5,11.99 5,9.5S7.01,5 9.5,5 14,7.01 14,9.5 11.99,14 9.5,14z"/>
|
||||
|
||||
</vector>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="24dp" android:tint="#FFFFFF" android:viewportHeight="24" android:viewportWidth="24" android:width="24dp">
|
||||
|
||||
<path android:fillColor="@android:color/white" android:pathData="M19.14,12.94c0.04,-0.3 0.06,-0.61 0.06,-0.94c0,-0.32 -0.02,-0.64 -0.07,-0.94l2.03,-1.58c0.18,-0.14 0.23,-0.41 0.12,-0.61l-1.92,-3.32c-0.12,-0.22 -0.37,-0.29 -0.59,-0.22l-2.39,0.96c-0.5,-0.38 -1.03,-0.7 -1.62,-0.94L14.4,2.81c-0.04,-0.24 -0.24,-0.41 -0.48,-0.41h-3.84c-0.24,0 -0.43,0.17 -0.47,0.41L9.25,5.35C8.66,5.59 8.12,5.92 7.63,6.29L5.24,5.33c-0.22,-0.08 -0.47,0 -0.59,0.22L2.74,8.87C2.62,9.08 2.66,9.34 2.86,9.48l2.03,1.58C4.84,11.36 4.8,11.69 4.8,12s0.02,0.64 0.07,0.94l-2.03,1.58c-0.18,0.14 -0.23,0.41 -0.12,0.61l1.92,3.32c0.12,0.22 0.37,0.29 0.59,0.22l2.39,-0.96c0.5,0.38 1.03,0.7 1.62,0.94l0.36,2.54c0.05,0.24 0.24,0.41 0.48,0.41h3.84c0.24,0 0.44,-0.17 0.47,-0.41l0.36,-2.54c0.59,-0.24 1.13,-0.56 1.62,-0.94l2.39,0.96c0.22,0.08 0.47,0 0.59,-0.22l1.92,-3.32c0.12,-0.22 0.07,-0.47 -0.12,-0.61L19.14,12.94zM12,15.6c-1.98,0 -3.6,-1.62 -3.6,-3.6s1.62,-3.6 3.6,-3.6s3.6,1.62 3.6,3.6S13.98,15.6 12,15.6z"/>
|
||||
<path android:fillColor="?android:textColor" android:pathData="M19.14,12.94c0.04,-0.3 0.06,-0.61 0.06,-0.94c0,-0.32 -0.02,-0.64 -0.07,-0.94l2.03,-1.58c0.18,-0.14 0.23,-0.41 0.12,-0.61l-1.92,-3.32c-0.12,-0.22 -0.37,-0.29 -0.59,-0.22l-2.39,0.96c-0.5,-0.38 -1.03,-0.7 -1.62,-0.94L14.4,2.81c-0.04,-0.24 -0.24,-0.41 -0.48,-0.41h-3.84c-0.24,0 -0.43,0.17 -0.47,0.41L9.25,5.35C8.66,5.59 8.12,5.92 7.63,6.29L5.24,5.33c-0.22,-0.08 -0.47,0 -0.59,0.22L2.74,8.87C2.62,9.08 2.66,9.34 2.86,9.48l2.03,1.58C4.84,11.36 4.8,11.69 4.8,12s0.02,0.64 0.07,0.94l-2.03,1.58c-0.18,0.14 -0.23,0.41 -0.12,0.61l1.92,3.32c0.12,0.22 0.37,0.29 0.59,0.22l2.39,-0.96c0.5,0.38 1.03,0.7 1.62,0.94l0.36,2.54c0.05,0.24 0.24,0.41 0.48,0.41h3.84c0.24,0 0.44,-0.17 0.47,-0.41l0.36,-2.54c0.59,-0.24 1.13,-0.56 1.62,-0.94l2.39,0.96c0.22,0.08 0.47,0 0.59,-0.22l1.92,-3.32c0.12,-0.22 0.07,-0.47 -0.12,-0.61L19.14,12.94zM12,15.6c-1.98,0 -3.6,-1.62 -3.6,-3.6s1.62,-3.6 3.6,-3.6s3.6,1.62 3.6,3.6S13.98,15.6 12,15.6z"/>
|
||||
|
||||
</vector>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="24dp" android:tint="#FFFFFF" android:viewportHeight="24" android:viewportWidth="24" android:width="24dp">
|
||||
|
||||
<path android:fillColor="@android:color/white" android:pathData="M12,10c-1.1,0 -2,0.9 -2,2s0.9,2 2,2 2,-0.9 2,-2 -0.9,-2 -2,-2zM19,3L5,3c-1.11,0 -2,0.9 -2,2v14c0,1.1 0.89,2 2,2h14c1.11,0 2,-0.9 2,-2L21,5c0,-1.1 -0.89,-2 -2,-2zM17.25,12c0,0.23 -0.02,0.46 -0.05,0.68l1.48,1.16c0.13,0.11 0.17,0.3 0.08,0.45l-1.4,2.42c-0.09,0.15 -0.27,0.21 -0.43,0.15l-1.74,-0.7c-0.36,0.28 -0.76,0.51 -1.18,0.69l-0.26,1.85c-0.03,0.17 -0.18,0.3 -0.35,0.3h-2.8c-0.17,0 -0.32,-0.13 -0.35,-0.29l-0.26,-1.85c-0.43,-0.18 -0.82,-0.41 -1.18,-0.69l-1.74,0.7c-0.16,0.06 -0.34,0 -0.43,-0.15l-1.4,-2.42c-0.09,-0.15 -0.05,-0.34 0.08,-0.45l1.48,-1.16c-0.03,-0.23 -0.05,-0.46 -0.05,-0.69 0,-0.23 0.02,-0.46 0.05,-0.68l-1.48,-1.16c-0.13,-0.11 -0.17,-0.3 -0.08,-0.45l1.4,-2.42c0.09,-0.15 0.27,-0.21 0.43,-0.15l1.74,0.7c0.36,-0.28 0.76,-0.51 1.18,-0.69l0.26,-1.85c0.03,-0.17 0.18,-0.3 0.35,-0.3h2.8c0.17,0 0.32,0.13 0.35,0.29l0.26,1.85c0.43,0.18 0.82,0.41 1.18,0.69l1.74,-0.7c0.16,-0.06 0.34,0 0.43,0.15l1.4,2.42c0.09,0.15 0.05,0.34 -0.08,0.45l-1.48,1.16c0.03,0.23 0.05,0.46 0.05,0.69z"/>
|
||||
<path android:fillColor="?android:textColor" android:pathData="M12,10c-1.1,0 -2,0.9 -2,2s0.9,2 2,2 2,-0.9 2,-2 -0.9,-2 -2,-2zM19,3L5,3c-1.11,0 -2,0.9 -2,2v14c0,1.1 0.89,2 2,2h14c1.11,0 2,-0.9 2,-2L21,5c0,-1.1 -0.89,-2 -2,-2zM17.25,12c0,0.23 -0.02,0.46 -0.05,0.68l1.48,1.16c0.13,0.11 0.17,0.3 0.08,0.45l-1.4,2.42c-0.09,0.15 -0.27,0.21 -0.43,0.15l-1.74,-0.7c-0.36,0.28 -0.76,0.51 -1.18,0.69l-0.26,1.85c-0.03,0.17 -0.18,0.3 -0.35,0.3h-2.8c-0.17,0 -0.32,-0.13 -0.35,-0.29l-0.26,-1.85c-0.43,-0.18 -0.82,-0.41 -1.18,-0.69l-1.74,0.7c-0.16,0.06 -0.34,0 -0.43,-0.15l-1.4,-2.42c-0.09,-0.15 -0.05,-0.34 0.08,-0.45l1.48,-1.16c-0.03,-0.23 -0.05,-0.46 -0.05,-0.69 0,-0.23 0.02,-0.46 0.05,-0.68l-1.48,-1.16c-0.13,-0.11 -0.17,-0.3 -0.08,-0.45l1.4,-2.42c0.09,-0.15 0.27,-0.21 0.43,-0.15l1.74,0.7c0.36,-0.28 0.76,-0.51 1.18,-0.69l0.26,-1.85c0.03,-0.17 0.18,-0.3 0.35,-0.3h2.8c0.17,0 0.32,0.13 0.35,0.29l0.26,1.85c0.43,0.18 0.82,0.41 1.18,0.69l1.74,-0.7c0.16,-0.06 0.34,0 0.43,0.15l1.4,2.42c0.09,0.15 0.05,0.34 -0.08,0.45l-1.48,1.16c0.03,0.23 0.05,0.46 0.05,0.69z"/>
|
||||
|
||||
</vector>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="24dp" android:tint="#FFFFFF" android:viewportHeight="24" android:viewportWidth="24" android:width="24dp">
|
||||
|
||||
<path android:fillColor="@android:color/white" android:pathData="M6,18l8.5,-6L6,6v12zM16,6v12h2V6h-2z"/>
|
||||
<path android:fillColor="?android:textColor" android:pathData="M6,18l8.5,-6L6,6v12zM16,6v12h2V6h-2z"/>
|
||||
|
||||
</vector>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="24dp" android:tint="#FFFFFF" android:viewportHeight="24" android:viewportWidth="24" android:width="24dp">
|
||||
|
||||
<path android:fillColor="@android:color/white" android:pathData="M6,6h2v12L6,18zM9.5,12l8.5,6L18,6z"/>
|
||||
<path android:fillColor="?android:textColor" android:pathData="M6,6h2v12L6,18zM9.5,12l8.5,6L18,6z"/>
|
||||
|
||||
</vector>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:autoMirrored="true" android:height="24dp" android:tint="#FFFFFF" android:viewportHeight="24" android:viewportWidth="24" android:width="24dp">
|
||||
|
||||
<path android:fillColor="@android:color/white" android:pathData="M18.5,12c0,-1.77 -1.02,-3.29 -2.5,-4.03v8.05c1.48,-0.73 2.5,-2.25 2.5,-4.02zM5,9v6h4l5,5V4L9,9H5z"/>
|
||||
<path android:fillColor="?android:textColor" android:pathData="M18.5,12c0,-1.77 -1.02,-3.29 -2.5,-4.03v8.05c1.48,-0.73 2.5,-2.25 2.5,-4.02zM5,9v6h4l5,5V4L9,9H5z"/>
|
||||
|
||||
</vector>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:autoMirrored="true" android:height="24dp" android:tint="#FFFFFF" android:viewportHeight="24" android:viewportWidth="24" android:width="24dp">
|
||||
|
||||
<path android:fillColor="@android:color/white" android:pathData="M3,9v6h4l5,5L12,4L7,9L3,9zM16.5,12c0,-1.77 -1.02,-3.29 -2.5,-4.03v8.05c1.48,-0.73 2.5,-2.25 2.5,-4.02zM14,3.23v2.06c2.89,0.86 5,3.54 5,6.71s-2.11,5.85 -5,6.71v2.06c4.01,-0.91 7,-4.49 7,-8.77s-2.99,-7.86 -7,-8.77z"/>
|
||||
<path android:fillColor="?android:textColor" android:pathData="M3,9v6h4l5,5L12,4L7,9L3,9zM16.5,12c0,-1.77 -1.02,-3.29 -2.5,-4.03v8.05c1.48,-0.73 2.5,-2.25 2.5,-4.02zM14,3.23v2.06c2.89,0.86 5,3.54 5,6.71s-2.11,5.85 -5,6.71v2.06c4.01,-0.91 7,-4.49 7,-8.77s-2.99,-7.86 -7,-8.77z"/>
|
||||
|
||||
</vector>
|
||||
|
|
|
@ -78,6 +78,7 @@
|
|||
android:id="@+id/list_tabs"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:tabIndicatorColor="?attr/colorAccent"
|
||||
custom:tabTextColor="?attr/android:textColor" />
|
||||
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
|
|
|
@ -30,7 +30,8 @@
|
|||
android:visibility="invisible"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/settings_actions_row_icon_img"
|
||||
|
@ -53,5 +54,4 @@
|
|||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@+id/settings_actions_row_icon_img"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
<!--android:tint="@color/design_default_color_primary"-->
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
@ -67,10 +67,11 @@
|
|||
<string name="settings_clock_localized">Lokalisiertes Datumsformat verwenden</string>
|
||||
<string name="settings_clock_flip_date_time">Datum und Uhrzeit tauschen</string>
|
||||
<string name="settings_launcher_section_date_time"><![CDATA[Datum & Uhrzeit]]></string>
|
||||
<string name="settings_theme_theme">Theme</string>
|
||||
<string-array name="settings_launcher_theme_spinner_items">
|
||||
<string name="settings_theme_color_theme">Farbschema</string>
|
||||
<string-array name="settings_theme_color_theme_items">
|
||||
<item>Standard</item>
|
||||
<item>Dunkel</item>
|
||||
<!--<item>Hell</item>-->
|
||||
</string-array>
|
||||
|
||||
<string name="settings_theme_wallpaper">Hintergrund auswählen</string>
|
||||
|
|
|
@ -65,7 +65,7 @@
|
|||
<string name="settings_launcher_section_appearance">Apariencia</string>
|
||||
|
||||
<string name="settings_launcher_section_date_time">Formato de fecha</string>
|
||||
<string-array name="settings_launcher_theme_spinner_items">
|
||||
<string-array name="settings_theme_color_theme_items">
|
||||
<item>Normal</item>
|
||||
<item>Oscuro</item>
|
||||
</string-array>
|
||||
|
|
|
@ -47,8 +47,8 @@
|
|||
-->
|
||||
<string name="settings_launcher_section_appearance">Apparence</string>
|
||||
<string name="settings_launcher_section_date_time">Format de date</string>
|
||||
<string name="settings_theme_theme">Thème</string>
|
||||
<string-array name="settings_launcher_theme_spinner_items">
|
||||
<string name="settings_theme_color_theme">Thème</string>
|
||||
<string-array name="settings_theme_color_theme_items">
|
||||
<item>Défaut</item>
|
||||
<item>Noir</item>
|
||||
</string-array>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<string name="ic_menu_alt">更多选项</string>
|
||||
<string name="settings_title">设置</string>
|
||||
<string name="settings_launcher_section_appearance">外观</string>
|
||||
<string name="settings_theme_theme">主题</string>
|
||||
<string name="settings_theme_color_theme">主题</string>
|
||||
<string name="settings_launcher_section_display">显示</string>
|
||||
<string name="list_tab_other">其他</string>
|
||||
<string name="settings_gesture_up">上滑</string>
|
||||
|
|
|
@ -7,4 +7,9 @@
|
|||
<color name="darkTheme_background_color">#000</color>
|
||||
<color name="darkTheme_accent_color">#444</color>
|
||||
<color name="darkTheme_text_color">#fff</color>
|
||||
|
||||
<color name="lightTheme_background_color">#fff</color>
|
||||
<color name="lightTheme_accent_color">#5555ff</color>
|
||||
<color name="lightTheme_text_color">#000</color>
|
||||
</resources>
|
||||
|
||||
|
|
|
@ -44,11 +44,26 @@
|
|||
- Settings : Theme
|
||||
-
|
||||
-->
|
||||
<string name="settings_theme_theme_key" translatable="false">theme</string>
|
||||
<string name="settings_theme_wallpaper_key" translatable="false">settings.theme.wallpaper</string>
|
||||
<string name="settings_theme_dominant_key" translatable="false">custom_dominant</string>
|
||||
<string name="settings_theme_vibrant_key" translatable="false">custom_vibrant</string>
|
||||
|
||||
<string name="settings_theme_color_theme_key" translatable="false">theme.color_theme</string>
|
||||
<string-array name="settings_theme_color_theme_values" translatable="false">
|
||||
<item>DEFAULT</item>
|
||||
<item>DARK</item>
|
||||
<!--<item>light</item>-->
|
||||
</string-array>
|
||||
<string name="settings_theme_background_key" translatable="false">theme.background</string>
|
||||
<string-array name="settings_theme_background_values" translatable="false">
|
||||
<item>TRANSPARENT</item>
|
||||
<item>DIM</item>
|
||||
<item>BLUR</item>
|
||||
<item>SOLID</item>
|
||||
</string-array>
|
||||
<string name="settings_theme_wallpaper_key" translatable="false">theme.wallpaper</string>
|
||||
<string name="settings_theme_font_key" translatable="false">theme.font</string>
|
||||
<string-array name="settings_theme_font_values" translatable="false">
|
||||
<item>HACK</item>
|
||||
<item>SYSTEM_DEFAULT</item>
|
||||
</string-array>
|
||||
<string name="settings_theme_monochrome_icons_key" translatable="false">theme.monochrome_icons</string>
|
||||
<!--
|
||||
-
|
||||
- Settings : Clock
|
||||
|
|
|
@ -63,11 +63,25 @@
|
|||
<string name="settings_launcher_section_appearance">Appearance</string>
|
||||
|
||||
|
||||
<string name="settings_theme_theme">Theme</string>
|
||||
<string-array name="settings_launcher_theme_spinner_items">
|
||||
<string name="settings_theme_color_theme">Color theme</string>
|
||||
<string-array name="settings_theme_color_theme_items">
|
||||
<item>Default</item>
|
||||
<item>Dark</item>
|
||||
<!--<item>Light</item>-->
|
||||
</string-array>
|
||||
<string name="settings_theme_background">Background (app list and setting)</string>
|
||||
<string-array name="settings_theme_background_items">
|
||||
<item>Transparent</item>
|
||||
<item>Dim</item>
|
||||
<item>Blur</item>
|
||||
<item>Solid</item>
|
||||
</string-array>
|
||||
<string name="settings_theme_font" translatable="false">Font</string>
|
||||
<string-array name="settings_theme_font_items">
|
||||
<item>Hack</item>
|
||||
<item>System default</item>
|
||||
</string-array>
|
||||
<string name="settings_theme_monochrome_icons">Monochrome app icons</string>
|
||||
<string name="settings_theme_dominant">Dominant color</string>
|
||||
<string name="settings_theme_vibrant">Vibrant color</string>
|
||||
|
||||
|
|
|
@ -1,43 +1,73 @@
|
|||
<resources>
|
||||
|
||||
<!-- Base theme for Launcher
|
||||
|
||||
This does not define the actual style of launcher,
|
||||
as the style / colors etc are dynamically generated.
|
||||
|
||||
This is more like a fallback- theme that may partially be used by older apis.
|
||||
|
||||
-->
|
||||
<!-- Base theme for Launcher -->
|
||||
<style name="launcherBaseTheme" parent="Theme.AppCompat.Light.NoActionBar">
|
||||
<item name="colorPrimary">@color/finnmglasTheme_background_color</item>
|
||||
<item name="colorPrimaryDark">@color/finnmglasTheme_background_color</item>
|
||||
<item name="colorAccent">@color/finnmglasTheme_accent_color</item>
|
||||
<item name="android:colorBackground">@color/finnmglasTheme_background_color</item>
|
||||
|
||||
<item name="android:textColor">@color/finnmglasTheme_text_color</item>
|
||||
<item name="android:textColorSecondary">?android:textColor</item>
|
||||
<item name="android:textColorPrimary">?android:textColor</item>
|
||||
<item name="android:textColorHint">?android:textColor</item>
|
||||
|
||||
<item name="android:buttonStyle">@style/Widget.AppCompat.Button.Colored</item>
|
||||
<item name="colorButtonNormal">?colorAccent</item>
|
||||
|
||||
<!--<item name="android:popupMenuStyle">@style/PopupMenuCustom</item>-->
|
||||
|
||||
<item name="android:windowDisablePreview">true</item>
|
||||
<item name="android:windowAnimationStyle">@style/WindowFadeTransition</item>
|
||||
</style>
|
||||
|
||||
<style name="colorThemeDark">
|
||||
<item name="colorPrimary">@color/darkTheme_background_color</item>
|
||||
<item name="colorPrimaryDark">@color/darkTheme_background_color</item>
|
||||
<item name="colorAccent">@color/darkTheme_accent_color</item>
|
||||
<item name="android:colorBackground">@color/darkTheme_background_color</item>
|
||||
<item name="android:textColor">@color/darkTheme_text_color</item>
|
||||
</style>
|
||||
<style name="colorThemeDefault">
|
||||
<item name="colorPrimary">@color/finnmglasTheme_background_color</item>
|
||||
<item name="colorPrimaryDark">@color/finnmglasTheme_background_color</item>
|
||||
<item name="colorAccent">@color/finnmglasTheme_accent_color</item>
|
||||
<item name="android:colorBackground">@color/finnmglasTheme_background_color</item>
|
||||
<item name="android:textColor">@color/finnmglasTheme_text_color</item>
|
||||
</style>
|
||||
|
||||
<style name="colorThemeLight">
|
||||
<item name="colorPrimary">@color/lightTheme_background_color</item>
|
||||
<item name="colorPrimaryDark">@color/lightTheme_background_color</item>
|
||||
<item name="colorAccent">@color/lightTheme_accent_color</item>
|
||||
<item name="android:colorBackground">@color/lightTheme_background_color</item>
|
||||
<item name="android:textColor">@color/lightTheme_text_color</item>
|
||||
</style>
|
||||
|
||||
|
||||
<style name="backgroundWallpaper">
|
||||
<item name="android:statusBarColor">@android:color/transparent</item>
|
||||
<item name="android:navigationBarColor">@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">?android:textColor</item>
|
||||
|
||||
<item name="android:fontFamily">@font/hack</item>
|
||||
|
||||
<item name="android:buttonStyle">@style/Widget.AppCompat.Button.Colored</item>
|
||||
<item name="colorButtonNormal">?colorAccent</item>
|
||||
|
||||
<item name="android:popupMenuStyle">@style/PopupMenuCustom</item>
|
||||
|
||||
|
||||
<item name="android:windowDisablePreview">true</item>
|
||||
<item name="android:windowAnimationStyle">@style/WindowFadeTransition</item>
|
||||
</style>
|
||||
|
||||
<style name="backgroundSolid">
|
||||
|
||||
</style>
|
||||
|
||||
|
||||
<style name="fontSystemDefault">
|
||||
<!--<item name="android:textSize">18sp</item>-->
|
||||
</style>
|
||||
<style name="fontHack">
|
||||
<item name="android:fontFamily">@font/hack</item>
|
||||
<!--<item name="android:textSize">18sp</item>-->
|
||||
</style>
|
||||
|
||||
|
||||
|
||||
|
||||
<style name="PopupMenuCustom" parent="@android:style/Widget.PopupMenu">
|
||||
<item name="android:popupBackground">#252827</item>
|
||||
|
|
|
@ -1,25 +1,51 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<PreferenceCategory > <!-- general -->
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<PreferenceCategory
|
||||
app:allowDividerAbove="false" > <!-- general -->
|
||||
<Preference
|
||||
android:key="@string/settings_general_choose_home_screen_key"
|
||||
android:title="@string/settings_general_choose_home_screen"/>
|
||||
|
||||
</PreferenceCategory>
|
||||
<PreferenceCategory
|
||||
app:allowDividerAbove="false"
|
||||
android:title="@string/settings_launcher_section_appearance">
|
||||
|
||||
<Preference
|
||||
android:key="@string/settings_theme_wallpaper_key"
|
||||
android:title="@string/settings_theme_wallpaper"/>
|
||||
<!--<ListPreference
|
||||
android:key="@string/settings_theme_theme_key"
|
||||
android:title="@string/settings_theme_theme"
|
||||
</ListPreference>-->
|
||||
<DropDownPreference
|
||||
android:entries="@array/settings_theme_color_theme_items"
|
||||
android:entryValues="@array/settings_theme_color_theme_values"
|
||||
android:summary="%s"
|
||||
android:defaultValue="DEFAULT"
|
||||
android:key="@string/settings_theme_color_theme_key"
|
||||
android:title="@string/settings_theme_color_theme"/>
|
||||
|
||||
<DropDownPreference
|
||||
android:key="@string/settings_theme_font_key"
|
||||
android:title="@string/settings_theme_font"
|
||||
android:entryValues="@array/settings_theme_font_values"
|
||||
android:entries="@array/settings_theme_font_items"
|
||||
android:summary="%s"
|
||||
android:defaultValue="HACK"/>
|
||||
<DropDownPreference
|
||||
android:key="@string/settings_theme_background_key"
|
||||
android:title="@string/settings_theme_background"
|
||||
android:summary="%s"
|
||||
android:entries="@array/settings_theme_background_items"
|
||||
android:entryValues="@array/settings_theme_background_values"
|
||||
android:defaultValue="BLUR"/>
|
||||
<SwitchPreference
|
||||
android:key="@string/settings_theme_monochrome_icons_key"
|
||||
android:title="@string/settings_theme_monochrome_icons"
|
||||
android:defaultValue="false" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
android:title="@string/settings_launcher_section_date_time">
|
||||
android:title="@string/settings_launcher_section_date_time"
|
||||
app:allowDividerAbove="false">
|
||||
<SwitchPreference
|
||||
android:key="@string/settings_clock_localized_key"
|
||||
android:defaultValue="false"
|
||||
|
@ -39,7 +65,8 @@
|
|||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
android:title="@string/settings_launcher_section_functionality">
|
||||
android:title="@string/settings_launcher_section_functionality"
|
||||
app:allowDividerAbove="false">
|
||||
|
||||
<SwitchPreference
|
||||
android:key="@string/settings_functionality_search_auto_launch_key"
|
||||
|
@ -61,7 +88,8 @@
|
|||
|
||||
</PreferenceCategory>
|
||||
<PreferenceCategory
|
||||
android:title="@string/settings_launcher_section_display">
|
||||
android:title="@string/settings_launcher_section_display"
|
||||
app:allowDividerAbove="false">
|
||||
<SwitchPreference
|
||||
android:key="@string/settings_display_full_screen_key"
|
||||
android:title="@string/settings_display_full_screen"/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue