Added Android code
[wl-app.git] / Android / folioreader / res / values / styles.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <resources>
3
4     <style name="AppTheme.NoActionBar" parent="Theme.AppCompat.Light.DarkActionBar">
5         <item name="windowActionBar">false</item>
6         <item name="windowNoTitle">true</item>
7     </style>
8
9     <style name="Animations" />
10
11     <!-- PopDownMenu -->
12     <style name="Animations.PopDownMenu" />
13
14     <style name="Animations.PopDownMenu.Center">
15         <item name="android:windowEnterAnimation">@anim/grow_from_top</item>
16         <item name="android:windowExitAnimation">@anim/shrink_from_bottom</item>
17     </style>
18
19     <style name="Animations.PopDownMenu.Left">
20         <item name="android:windowEnterAnimation">@anim/grow_from_topleft_to_bottomright</item>
21         <item name="android:windowExitAnimation">@anim/shrink_from_bottomright_to_topleft</item>
22     </style>
23
24     <style name="Animations.PopDownMenu.Right">
25         <item name="android:windowEnterAnimation">@anim/grow_from_topright_to_bottomleft</item>
26         <item name="android:windowExitAnimation">@anim/shrink_from_bottomleft_to_topright</item>
27     </style>
28
29     <style name="Animations.PopDownMenu.Reflect">
30         <item name="android:windowEnterAnimation">@anim/pump_top</item>
31         <item name="android:windowExitAnimation">@anim/disappear</item>
32     </style>
33
34     <!-- PopUpMenu -->
35     <style name="Animations.PopUpMenu" />
36
37     <style name="Animations.PopUpMenu.Center">
38         <item name="android:windowEnterAnimation">@anim/grow_from_bottom</item>
39         <item name="android:windowExitAnimation">@anim/shrink_from_top</item>
40     </style>
41
42     <style name="Animations.PopUpMenu.Left">
43         <item name="android:windowEnterAnimation">@anim/grow_from_bottomleft_to_topright</item>
44         <item name="android:windowExitAnimation">@anim/shrink_from_topright_to_bottomleft</item>
45     </style>
46
47     <style name="Animations.PopUpMenu.Right">
48         <item name="android:windowEnterAnimation">@anim/grow_from_bottomright_to_topleft</item>
49         <item name="android:windowExitAnimation">@anim/shrink_from_topleft_to_bottomright</item>
50     </style>
51
52     <style name="Animations.PopUpMenu.Reflect">
53         <item name="android:windowEnterAnimation">@anim/pump_bottom</item>
54         <item name="android:windowExitAnimation">@anim/disappear</item>
55     </style>
56
57     <declare-styleable name="UnderlinedTextView">
58         <attr name="underlineWidth" format="dimension" />
59         <attr name="underlineColor" format="color" />
60     </declare-styleable>
61
62     <style name="full_screen_dialog" parent="@style/Theme.AppCompat">
63         <item name="android:windowFullscreen">true</item>
64         <item name="android:windowNoTitle">true</item>
65         <item name="android:windowIsTranslucent">true</item>
66         <item name="android:windowBackground">@android:color/transparent</item>
67         <item name="android:windowContentOverlay">@null</item>
68         <item name="android:windowIsFloating">true</item>
69         <item name="android:backgroundDimEnabled">true</item>
70         <item name="android:layout_width">match_parent</item>
71         <item name="android:layout_height">match_parent</item>
72     </style>
73
74     <style name="DialogCustomTheme" parent="android:Theme.Holo.Dialog.NoActionBar">
75         <item name="android:windowBackground">@android:color/transparent</item>
76         <item name="android:colorBackgroundCacheHint">@null</item>
77     </style>
78
79     <style name="DialogAnimation">
80         <item name="android:windowEnterAnimation">@anim/slide_up</item>
81         <item name="android:windowExitAnimation">@anim/slide_down</item>
82     </style>
83 </resources>