]> gitweb.fperrin.net Git - Dictionary.git/blob - res/values/styles.xml
Picking back up in the middle of a major refactoring of the UI, tyring
[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="Theme.Sherlock.Light">
8         <!--
9             Theme customizations available in newer API levels can go in
10             res/values-vXX/styles.xml, while customizations related to
11             backward-compatibility can go here.
12         -->
13         <!--
14             Make search icon magnifying glass disappear:
15             http://stackoverflow.com/questions/13604506/show-actionbarsherlock-searchview-always-expanded
16         -->
17       <item name="searchViewSearchIcon">@android:color/transparent</item>
18       <item name="searchViewCloseIcon">@android:color/transparent</item>
19     </style>
20     
21     <style name="AppBaseThemeDark" parent="Theme.Sherlock">
22         <!--
23             Theme customizations available in newer API levels can go in
24             res/values-vXX/styles.xml, while customizations related to
25             backward-compatibility can go here.
26         -->
27         <!--
28             Make search icon magnifying glass disappear:
29             http://stackoverflow.com/questions/13604506/show-actionbarsherlock-searchview-always-expanded
30         -->
31       <item name="searchViewSearchIcon">@android:color/transparent</item>
32       <item name="searchViewCloseIcon">@android:color/transparent</item>
33     </style>
34
35     <!-- Dark theme -->
36
37     <style name="Theme.Default" parent="AppBaseThemeDark"></style>
38
39     <style name="Theme.Default.TokenRow.Fg" parent="Theme.Default">
40         <!-- <item name="android:textColor">#FFFFFF</item> -->
41         <item name="android:textColorLink">#00AAFF</item>
42     </style>
43
44     <color name="theme_default_token_row_fg">#FFFFFF</color>
45     <color name="theme_default_token_row_main_bg">#222222</color>
46     <color name="theme_default_token_row_other_bg">#222222</color>
47     <color name="theme_default_other_lang_bg">#000000</color>
48
49     <!-- ****************************************************************** -->
50
51     <!-- Light theme -->
52
53     <style name="Theme.Light" parent="AppBaseThemeLight"></style>
54
55     <style name="Theme.Light.TokenRow.Fg" parent="Theme.Light">
56         <!-- <item name="android:textColor">#000000</item> -->
57         <item name="android:textColorLink">#0000FF</item>
58     </style>
59
60     <color name="theme_light_token_row_fg">#000000</color>
61     <color name="theme_light_token_row_main_bg">#EEEEEE</color>
62     <color name="theme_light_token_row_other_bg">#EEEEEE</color>
63     <color name="theme_light_other_lang_bg">#FFFFFF</color>
64
65     <style name="BorderlessButton">
66         <item name="android:background">@null</item>
67         <item name="android:paddingLeft">4dip</item>
68         <item name="android:paddingRight">4dip</item>
69     </style>
70
71 </resources>