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