<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2008 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>
    <!-- Maps a contact kind or mime-type to a RemoteViews XML formatter -->
    <declare-styleable name="Mapping">
        <!-- Mime-type handled by this mapping -->
        <attr name="mimeType" format="string"/>
        <!-- RemoteViews XML that should be used to format this data -->
        <attr name="remoteViews" format="reference"/>
        <!-- Column in data table to summarize this data -->
        <attr name="summaryColumn" format="string"/>
        <!-- Column in data table to show details of this data -->
        <attr name="detailColumn" format="string"/>
    </declare-styleable>

    <declare-styleable name="EdgeTriggerView">
        <attr name="edgeWidth" format="dimension"/>
        <attr name="listenEdges">
            <flag name="left" value="0x01"/>
            <flag name="right" value="0x02"/>
        </attr>
    </declare-styleable>

    <declare-styleable name="InterpolatingLayout_Layout">
        <attr name="layout_narrowParentWidth" format="dimension"/>
        <attr name="layout_narrowWidth" format="dimension"/>
        <attr name="layout_narrowMarginLeft" format="dimension"/>
        <attr name="layout_narrowMarginRight" format="dimension"/>
        <attr name="layout_narrowPaddingLeft" format="dimension"/>
        <attr name="layout_narrowPaddingRight" format="dimension"/>
        <attr name="layout_wideParentWidth" format="dimension"/>
        <attr name="layout_wideWidth" format="dimension"/>
        <attr name="layout_wideMarginLeft" format="dimension"/>
        <attr name="layout_wideMarginRight" format="dimension"/>
        <attr name="layout_widePaddingLeft" format="dimension"/>
        <attr name="layout_widePaddingRight" format="dimension"/>
    </declare-styleable>

    <declare-styleable name="Theme">
        <attr name="android:textColorSecondary" />
    </declare-styleable>

    <declare-styleable name="ContactsDataKind">
        <!-- Mime-type handled by this mapping. -->
        <attr name="android:mimeType" />
        <!-- Icon used to represent data of this kind. -->
        <attr name="android:icon" />
        <!-- Column in data table that summarizes this data. -->
        <attr name="android:summaryColumn" />
        <!-- Column in data table that contains details for this data. -->
        <attr name="android:detailColumn" />
        <!-- Flag indicating that detail should be built from SocialProvider. -->
        <attr name="android:detailSocialSummary" />
        <!-- Resource representing the term "All Contacts" (e.g. "All Friends" or
        "All connections"). Optional (Default is "All Contacts"). -->
        <attr name="android:allContactsName" />
    </declare-styleable>

    <declare-styleable name="ContactListItemView">
        <attr name="list_item_height" format="dimension"/>
        <attr name="list_section_header_height" format="dimension"/>
        <attr name="activated_background" format="reference"/>
        <attr name="section_header_background" 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_indexer_and_image" format="dimension"/>
        <attr name="list_item_gap_between_label_and_data" format="dimension"/>
        <attr name="list_item_presence_icon_margin" format="dimension"/>
        <attr name="list_item_presence_icon_size" format="dimension"/>
        <attr name="list_item_photo_size" format="dimension"/>
        <attr name="list_item_profile_photo_size" format="dimension"/>
        <attr name="list_item_prefix_highlight_color" format="color"/>
        <attr name="list_item_background_color" format="color"/>
        <attr name="list_item_header_text_indent" format="dimension"/>
        <attr name="list_item_header_text_color" format="color"/>
        <attr name="list_item_header_text_size" format="dimension"/>
        <attr name="list_item_header_height" format="dimension"/>
        <attr name="list_item_name_text_color" format="color"/>
        <attr name="list_item_name_text_size" format="dimension"/>
        <attr name="list_item_text_indent" format="dimension"/>
        <attr name="list_item_text_offset_top" format="dimension"/>
        <attr name="list_item_avatar_offset_top" format="dimension"/>
        <attr name="list_item_data_width_weight" format="integer"/>
        <attr name="list_item_label_width_weight" format="integer"/>
        <attr name="list_item_video_call_icon_size" format="dimension"/>
        <attr name="list_item_video_call_icon_margin" format="dimension"/>
    </declare-styleable>

    <declare-styleable name="ContactBrowser">
        <attr name="contact_browser_list_padding_left" format="dimension"/>
        <attr name="contact_browser_list_padding_right" format="dimension"/>
        <attr name="contact_browser_background" format="reference"/>
    </declare-styleable>

    <declare-styleable name="ProportionalLayout">
        <attr name="direction" format="string"/>
        <attr name="ratio" format="float"/>
    </declare-styleable>

    <declare-styleable name="Favorites">
        <attr name="favorites_padding_bottom" format="dimension"/>
    </declare-styleable>
</resources>