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