summaryrefslogtreecommitdiffstats
path: root/res/values/styles.xml
blob: f5256ee2dba753f0c45f57320c1fe477ab3aebbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2009 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

<resources>
    <style name="DialtactsTheme" parent="@android:Theme">
        <item name="android:windowNoTitle">true</item>
        <item name="android:windowContentOverlay">@null</item>
    </style>

    <style name="ContactsSearchTheme" parent="@android:Theme.Translucent.NoTitleBar">
        <item name="android:windowAnimationStyle">@style/ContactsSearchAnimation</item>
    </style>

    <style name="EmptyButton">
        <item name="android:background">@drawable/btn_circle</item>
    </style>

    <style name="MinusButton">
        <item name="android:background">@drawable/btn_circle</item>
        <item name="android:src">@drawable/ic_btn_round_minus</item>
        <item name="android:contentDescription">@string/description_minus_button</item>
    </style>

    <style name="PlusButton">
        <item name="android:background">@drawable/btn_circle</item>
        <item name="android:src">@drawable/ic_btn_round_plus</item>
        <item name="android:contentDescription">@string/description_plus_button</item>
    </style>

    <style name="MoreButton">
        <item name="android:background">@drawable/btn_circle</item>
        <item name="android:src">@drawable/ic_btn_round_more</item>
    </style>

    <style name="LessButton">
        <item name="android:background">@drawable/btn_circle</item>
        <item name="android:src">@drawable/ic_btn_round_less</item>
    </style>

    <style name="CallDetailActivityTheme" parent="android:Theme.NoTitleBar">
        <item name="android:windowContentOverlay">@null</item>
    </style>
    <style name="ContactDetailActivityTheme" parent="android:Theme.NoTitleBar">
        <item name="android:windowContentOverlay">@null</item>
    </style>
    <style name="ContactEditorActivityTheme" parent="android:Theme.NoTitleBar">
        <item name="android:windowContentOverlay">@null</item>
    </style>

    <style name="BackgroundOnly">
        <item name="android:windowBackground">@null</item>
        <item name="android:windowContentOverlay">@null</item>
        <item name="android:windowAnimationStyle">@null</item>
        <item name="android:windowNoTitle">true</item>
        <item name="android:windowNoDisplay">true</item>
        <item name="android:windowIsFloating">true</item>
    </style>

    <style name="FullyTranslucent" parent="android:Theme.Translucent.NoTitleBar">
        <item name="android:windowContentOverlay">@null</item>
    </style>

    <style name="FullyTranslucent.QuickContact">
        <!-- This is a hack because we want to be able to animate away the
             QuickContact window, and we close its containing activity at the
             same time.  So put in a dummy animation so this guy sticks around
             while the fast track window is animating. -->
        <item name="android:windowAnimationStyle">@style/DummyAnimation</item>
    </style>

    <style name="QuickContact">
        <item name="android:windowFrame">@null</item>
        <item name="android:windowBackground">@android:color/transparent</item>
        <item name="android:windowIsFloating">true</item>
        <item name="android:windowContentOverlay">@null</item>
        <!-- TODO: create our own animation style in framework -->
        <!--
        <item name="android:windowAnimationStyle">@*android:style/Animation.ZoomButtons</item>
        -->
    </style>

    <style name="QuickContactAboveAnimation">
        <item name="android:windowEnterAnimation">@anim/quickcontact_above_enter</item>
        <item name="android:windowExitAnimation">@anim/quickcontact_above_exit</item>
    </style>

    <style name="QuickContactBelowAnimation">
        <item name="android:windowEnterAnimation">@anim/quickcontact_below_enter</item>
        <item name="android:windowExitAnimation">@anim/quickcontact_below_exit</item>
    </style>

    <style name="ContactsSearchAnimation">
        <item name="android:windowEnterAnimation">@anim/search_bar_enter</item>
        <item name="android:windowExitAnimation">@anim/search_bar_exit</item>
    </style>

    <style name="DummyAnimation">
        <item name="android:windowExitAnimation">@anim/dummy_animation</item>
    </style>

    <declare-styleable name="ContactListItemView">
        <!-- An attribute that specifies a custom drawable for the pressed state in the contact list-->
        <attr name="pressedBackground" format="reference"/>

        <attr name="list_item_padding_top" format="dimension"/>
        <attr name="list_item_padding_right" format="dimension"/>
        <attr name="list_item_padding_bottom" format="dimension"/>
        <attr name="list_item_padding_left" format="dimension"/>
        <attr name="list_item_gap_between_image_and_text" format="dimension"/>
        <attr name="list_item_gap_between_label_and_data" format="dimension"/>
        <attr name="list_item_call_button_padding" format="dimension"/>
        <attr name="list_item_vertical_divider_margin" format="dimension"/>
        <attr name="list_item_presence_icon_margin" format="dimension"/>
        <attr name="list_item_header_text_width" format="dimension"/>
        <attr name="list_item_photo_size" format="dimension"/>

    </declare-styleable>

    <declare-styleable name="MultiplePhonePickerItemView">
        <attr name="list_item_header_chip_width" format="dimension"/>
        <attr name="list_item_header_chip_right_margin" format="dimension"/>
        <attr name="list_item_header_checkbox_margin" format="dimension"/>
    </declare-styleable>

    <style name="ContactBrowserTheme" parent="@android:Theme">
        <item name="pressedBackground">@*android:drawable/list_selector_background</item>
        <item name="list_item_padding_top">4dip</item>
        <item name="list_item_padding_right">11dip</item>
        <item name="list_item_padding_bottom">4dip</item>
        <item name="list_item_padding_left">4dip</item>
        <item name="list_item_gap_between_image_and_text">8dip</item>
        <item name="list_item_gap_between_label_and_data">5dip</item>
        <item name="list_item_call_button_padding">14dip</item>
        <item name="list_item_vertical_divider_margin">5dip</item>
        <item name="list_item_presence_icon_margin">5dip</item>
        <item name="list_item_header_text_width">56dip</item>
        <item name="list_item_photo_size">56dip</item>
    </style>

    <style name="ContactPickerTheme" parent="@android:Theme">
        <item name="list_item_padding_top">4dip</item>
        <item name="list_item_padding_right">11dip</item>
        <item name="list_item_padding_bottom">4dip</item>
        <item name="list_item_padding_left">4dip</item>
        <item name="list_item_gap_between_image_and_text">8dip</item>
        <item name="list_item_gap_between_label_and_data">5dip</item>
        <item name="list_item_call_button_padding">14dip</item>
        <item name="list_item_vertical_divider_margin">5dip</item>
        <item name="list_item_presence_icon_margin">5dip</item>
        <item name="list_item_header_text_width">56dip</item>
        <item name="list_item_photo_size">56dip</item>
        <item name="list_item_header_chip_width">4dip</item>
        <item name="list_item_header_chip_right_margin">4dip</item>
        <item name="list_item_header_checkbox_margin">5dip</item>
    </style>

    <style name="JoinContactActivityTheme" parent="ContactPickerTheme">
        <item name="android:windowNoTitle">true</item>
        <item name="android:windowContentOverlay">@null</item>
    </style>
    
    <style name="ContactsPreferencesTheme" parent="@android:Theme">
    </style>
</resources>