blob: e97961152d1eef9cd25a2a8406c0a74f5e0dc918 [file] [log] [blame]
Jeff Sharkey3f177592009-05-18 15:23:12 -07001<?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
Daniel Lehmann2e95ad02011-07-28 18:30:01 -07007
Jeff Sharkey3f177592009-05-18 15:23:12 -07008 http://www.apache.org/licenses/LICENSE-2.0
Daniel Lehmann2e95ad02011-07-28 18:30:01 -07009
Jeff Sharkey3f177592009-05-18 15:23:12 -070010 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-->
Jeff Sharkey3f177592009-05-18 15:23:12 -070016<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 -->
Dmitri Plotnikovfc172b02010-02-23 10:10:17 -080020 <attr name="mimeType" format="string"/>
Jeff Sharkey3f177592009-05-18 15:23:12 -070021 <!-- RemoteViews XML that should be used to format this data -->
Dmitri Plotnikovfc172b02010-02-23 10:10:17 -080022 <attr name="remoteViews" format="reference"/>
Jeff Sharkey549aa162009-05-21 01:33:30 -070023 <!-- Column in data table to summarize this data -->
Dmitri Plotnikovfc172b02010-02-23 10:10:17 -080024 <attr name="summaryColumn" format="string"/>
Jeff Sharkey39261272009-06-03 19:15:09 -070025 <!-- Column in data table to show details of this data -->
Dmitri Plotnikovfc172b02010-02-23 10:10:17 -080026 <attr name="detailColumn" format="string"/>
Jeff Sharkey3f177592009-05-18 15:23:12 -070027 </declare-styleable>
28
29 <declare-styleable name="EdgeTriggerView">
Dmitri Plotnikovfc172b02010-02-23 10:10:17 -080030 <attr name="edgeWidth" format="dimension"/>
Jeff Sharkey3f177592009-05-18 15:23:12 -070031 <attr name="listenEdges">
Dmitri Plotnikovfc172b02010-02-23 10:10:17 -080032 <flag name="left" value="0x01"/>
33 <flag name="right" value="0x02"/>
Jeff Sharkey3f177592009-05-18 15:23:12 -070034 </attr>
35 </declare-styleable>
36
Daniel Lehmann2e95ad02011-07-28 18:30:01 -070037 <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
Walter Jang13a9c332016-08-13 08:35:14 -070052 <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>
Jeff Sharkey3f177592009-05-18 15:23:12 -0700119</resources>