]> gitweb.fperrin.net Git - Dictionary.git/blob - res/values/styles.xml
Switch to app compat preferences.
[Dictionary.git] / res / values / styles.xml
1 <resources>
2
3     <!--
4         Base application theme, dependent on API level. This theme is replaced
5         by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
6     -->
7     <style name="AppBaseThemeLight" parent="@style/Theme.AppCompat.Light">
8         <item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
9         <!--
10             Theme customizations available in newer API levels can go in
11             res/values-vXX/styles.xml, while customizations related to
12             backward-compatibility can go here.
13         -->
14         <!--
15             Make search icon magnifying glass disappear:
16             http://stackoverflow.com/questions/13604506/show-actionbarsherlock-searchview-always-expanded
17         -->
18         <!--
19       <item name="searchViewSearchIcon">@android:color/transparent</item>
20       <item name="searchViewCloseIcon">@android:color/transparent</item>
21         -->
22     </style>
23
24     <style name="AppBaseThemeDark" parent="@style/Theme.AppCompat">
25         <item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
26         <!--
27             Theme customizations available in newer API levels can go in
28             res/values-vXX/styles.xml, while customizations related to
29             backward-compatibility can go here.
30         -->
31         <!--
32             Make search icon magnifying glass disappear:
33             http://stackoverflow.com/questions/13604506/show-actionbarsherlock-searchview-always-expanded
34         -->
35         <!--
36       <item name="searchViewSearchIcon">@android:color/transparent</item>
37       <item name="searchViewCloseIcon">@android:color/transparent</item>
38         -->
39     </style>
40
41     <!-- Dark theme -->
42
43     <style name="Theme.Default" parent="AppBaseThemeDark" />
44
45     <style name="Theme.Default.TokenRow.Fg" parent="Theme.Default">
46
47         <!-- <item name="android:textColor">#FFFFFF</item> -->
48         <item name="android:textColorLink">#00AAFF</item>
49     </style>
50
51     <color name="theme_default_token_row_fg">#FFFFFF</color>
52     <color name="theme_default_token_row_main_bg">#222222</color>
53     <color name="theme_default_token_row_other_bg">#222222</color>
54     <color name="theme_default_normal_row_bg">#000000</color>
55
56     <!-- ****************************************************************** -->
57
58
59     <!-- Light theme -->
60
61     <style name="Theme.Light" parent="AppBaseThemeLight" />
62
63     <style name="Theme.Light.TokenRow.Fg" parent="Theme.Light">
64
65         <!-- <item name="android:textColor">#000000</item> -->
66         <item name="android:textColorLink">#0000FF</item>
67     </style>
68
69     <color name="theme_light_token_row_fg">#000000</color>
70     <color name="theme_light_token_row_main_bg">#EEEEEE</color>
71     <color name="theme_light_token_row_other_bg">#EEEEEE</color>
72     <color name="theme_light_normal_row_bg">#FFFFFF</color>
73     <color name="gray">#777777</color>
74 </resources>