Changeset View
Changeset View
Standalone View
Standalone View
res/values/styles.xml
Show All 12 Lines | 8 | <style name="KdeConnectThemeBase" parent="Theme.MaterialComponents.Light.DarkActionBar"> | |||
---|---|---|---|---|---|
13 | <item name="toolbarStyle">@style/KdeConnectTheme.Toolbar</item> | 13 | <item name="toolbarStyle">@style/KdeConnectTheme.Toolbar</item> | ||
14 | <item name="popupTheme">@style/ThemeOverlay.AppCompat.Light</item> | 14 | <item name="popupTheme">@style/ThemeOverlay.AppCompat.Light</item> | ||
15 | <item name="mainNavigationViewStyle">@style/MainNavigationView</item> | 15 | <item name="mainNavigationViewStyle">@style/MainNavigationView</item> | ||
16 | <item name="colorHighContrast">@android:color/black</item> | 16 | <item name="colorHighContrast">@android:color/black</item> | ||
17 | <!-- TODO: The 2 items below change to much (eg snackbar text is now black, should be white) --> | 17 | <!-- TODO: The 2 items below change to much (eg snackbar text is now black, should be white) --> | ||
18 | <item name="android:textColorPrimary">@android:color/black</item> | 18 | <item name="android:textColorPrimary">@android:color/black</item> | ||
19 | <item name="android:textColor">@android:color/black</item> | 19 | <item name="android:textColor">@android:color/black</item> | ||
20 | <item name="preferenceTheme">@style/PreferenceThemeOverlay</item> | 20 | <item name="preferenceTheme">@style/PreferenceThemeOverlay</item> | ||
21 | <item name="actionModeStyle">@style/ActionModeStyle</item> | ||||
21 | </style> | 22 | </style> | ||
22 | 23 | | |||
23 | <style name="KdeConnectThemeBase.NoActionBar" parent="KdeConnectThemeBase"> | 24 | <style name="KdeConnectThemeBase.NoActionBar" parent="KdeConnectThemeBase"> | ||
24 | <item name="windowActionBar">false</item> | 25 | <item name="windowActionBar">false</item> | ||
25 | <item name="windowNoTitle">true</item> | 26 | <item name="windowNoTitle">true</item> | ||
26 | </style> | 27 | </style> | ||
27 | 28 | | |||
28 | <style name="KdeConnectTheme" parent="KdeConnectThemeBase" /> | 29 | <style name="KdeConnectTheme" parent="KdeConnectThemeBase" /> | ||
29 | 30 | | |||
30 | <style name="KdeConnectTheme.Toolbar" parent="Widget.AppCompat.Toolbar"> | 31 | <style name="KdeConnectTheme.Toolbar" parent="Widget.AppCompat.Toolbar"> | ||
31 | <item name="android:background">?attr/colorPrimary</item> | 32 | <item name="android:background">?attr/colorPrimary</item> | ||
32 | </style> | 33 | </style> | ||
33 | <style name="KdeConnectTheme.NoActionBar" parent="KdeConnectThemeBase.NoActionBar" /> | 34 | <style name="KdeConnectTheme.NoActionBar" parent="KdeConnectThemeBase.NoActionBar" /> | ||
34 | 35 | | |||
35 | <style name="MainNavigationView"> | 36 | <style name="MainNavigationView"> | ||
36 | <item name="android:background">@drawable/state_list_drawer_background</item> | 37 | <item name="android:background">@drawable/state_list_drawer_background</item> | ||
37 | <item name="itemBackground">@drawable/state_list_drawer_background</item> | 38 | <item name="itemBackground">@drawable/state_list_drawer_background</item> | ||
38 | <item name="itemIconTint">@color/state_list_drawer_text</item> | 39 | <item name="itemIconTint">@color/state_list_drawer_text</item> | ||
39 | <item name="itemTextColor">@color/state_list_drawer_text</item> | 40 | <item name="itemTextColor">@color/state_list_drawer_text</item> | ||
40 | </style> | 41 | </style> | ||
41 | 42 | | |||
42 | <style name="DisableableButton" parent="ThemeOverlay.AppCompat"> | 43 | <style name="DisableableButton" parent="ThemeOverlay.AppCompat"> | ||
43 | <item name="colorButtonNormal">@drawable/disableable_button</item> | 44 | <item name="colorButtonNormal">@drawable/disableable_button</item> | ||
44 | </style> | 45 | </style> | ||
46 | | ||||
47 | <style name="ActionModeStyle" parent="Widget.AppCompat.ActionMode"> | ||||
48 | <item name="background">@color/primaryDark</item> | ||||
49 | </style> | ||||
45 | </resources> | 50 | </resources> |