1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2008 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16<resources>
17    <!-- Maps a contact kind or mime-type to a RemoteViews XML formatter -->
18    <declare-styleable name="Mapping">
19        <!-- Mime-type handled by this mapping -->
20        <attr name="mimeType" format="string"/>
21        <!-- RemoteViews XML that should be used to format this data -->
22        <attr name="remoteViews" format="reference"/>
23        <!-- Column in data table to summarize this data -->
24        <attr name="summaryColumn" format="string"/>
25        <!-- Column in data table to show details of this data -->
26        <attr name="detailColumn" format="string"/>
27    </declare-styleable>
28
29    <declare-styleable name="EdgeTriggerView">
30        <attr name="edgeWidth" format="dimension"/>
31        <attr name="listenEdges">
32            <flag name="left" value="0x01"/>
33            <flag name="right" value="0x02"/>
34        </attr>
35    </declare-styleable>
36
37    <declare-styleable name="InterpolatingLayout_Layout">
38        <attr name="layout_narrowParentWidth" format="dimension"/>
39        <attr name="layout_narrowWidth" format="dimension"/>
40        <attr name="layout_narrowMarginLeft" format="dimension"/>
41        <attr name="layout_narrowMarginRight" format="dimension"/>
42        <attr name="layout_narrowPaddingLeft" format="dimension"/>
43        <attr name="layout_narrowPaddingRight" format="dimension"/>
44        <attr name="layout_wideParentWidth" format="dimension"/>
45        <attr name="layout_wideWidth" format="dimension"/>
46        <attr name="layout_wideMarginLeft" format="dimension"/>
47        <attr name="layout_wideMarginRight" format="dimension"/>
48        <attr name="layout_widePaddingLeft" format="dimension"/>
49        <attr name="layout_widePaddingRight" format="dimension"/>
50    </declare-styleable>
51
52    <declare-styleable name="Theme">
53        <attr name="android:textColorSecondary" />
54    </declare-styleable>
55
56    <declare-styleable name="ContactsDataKind">
57        <!-- Mime-type handled by this mapping. -->
58        <attr name="android:mimeType" />
59        <!-- Icon used to represent data of this kind. -->
60        <attr name="android:icon" />
61        <!-- Column in data table that summarizes this data. -->
62        <attr name="android:summaryColumn" />
63        <!-- Column in data table that contains details for this data. -->
64        <attr name="android:detailColumn" />
65        <!-- Flag indicating that detail should be built from SocialProvider. -->
66        <attr name="android:detailSocialSummary" />
67        <!-- Resource representing the term "All Contacts" (e.g. "All Friends" or
68        "All connections"). Optional (Default is "All Contacts"). -->
69        <attr name="android:allContactsName" />
70    </declare-styleable>
71
72    <declare-styleable name="ContactListItemView">
73        <attr name="list_item_height" format="dimension"/>
74        <attr name="list_section_header_height" format="dimension"/>
75        <attr name="activated_background" format="reference"/>
76        <attr name="section_header_background" format="reference"/>
77        <attr name="list_item_padding_top" format="dimension"/>
78        <attr name="list_item_padding_right" format="dimension"/>
79        <attr name="list_item_padding_bottom" format="dimension"/>
80        <attr name="list_item_padding_left" format="dimension"/>
81        <attr name="list_item_gap_between_image_and_text" format="dimension"/>
82        <attr name="list_item_gap_between_indexer_and_image" format="dimension"/>
83        <attr name="list_item_gap_between_label_and_data" format="dimension"/>
84        <attr name="list_item_presence_icon_margin" format="dimension"/>
85        <attr name="list_item_presence_icon_size" format="dimension"/>
86        <attr name="list_item_photo_size" format="dimension"/>
87        <attr name="list_item_profile_photo_size" format="dimension"/>
88        <attr name="list_item_prefix_highlight_color" format="color"/>
89        <attr name="list_item_background_color" format="color"/>
90        <attr name="list_item_header_text_indent" format="dimension"/>
91        <attr name="list_item_header_text_color" format="color"/>
92        <attr name="list_item_header_text_size" format="dimension"/>
93        <attr name="list_item_header_height" format="dimension"/>
94        <attr name="list_item_name_text_color" format="color"/>
95        <attr name="list_item_name_text_size" format="dimension"/>
96        <attr name="list_item_text_indent" format="dimension"/>
97        <attr name="list_item_text_offset_top" format="dimension"/>
98        <attr name="list_item_avatar_offset_top" format="dimension"/>
99        <attr name="list_item_data_width_weight" format="integer"/>
100        <attr name="list_item_label_width_weight" format="integer"/>
101        <attr name="list_item_video_call_icon_size" format="dimension"/>
102        <attr name="list_item_video_call_icon_margin" format="dimension"/>
103    </declare-styleable>
104
105    <declare-styleable name="ContactBrowser">
106        <attr name="contact_browser_list_padding_left" format="dimension"/>
107        <attr name="contact_browser_list_padding_right" format="dimension"/>
108        <attr name="contact_browser_background" format="reference"/>
109    </declare-styleable>
110
111    <declare-styleable name="ProportionalLayout">
112        <attr name="direction" format="string"/>
113        <attr name="ratio" format="float"/>
114    </declare-styleable>
115
116    <declare-styleable name="Favorites">
117        <attr name="favorites_padding_bottom" format="dimension"/>
118    </declare-styleable>
119</resources>
120