<?xml version="1.0" encoding="utf-8"?>
<resources>

    <!-- 关于Theme的继承关系：
  由于 Theme 需要在不同 API Level 下有不同的配置，并且继承自不同的系统 Theme，所以多层继承。

  继承关系和每个层的分工如下：
  XUIRootTheme（Theme 的最顶层，各个 API Level 自行决定继承自系统的哪个 Theme）
    |-values
    |-values-v21
    |-values-...
    |
  XUIBaseTheme（基础 Theme，定义所有公用的 style。）
    |-values
    |
  XUITheme（可配置的 Theme，各个 API Level 自行配置各自的 style 差异。）
    |-values
    |-values-v21
    |-values-...
    |
  XUI（XUI提供的theme控制，供外界使用）

  So，
  如果要对某 API Level 配置继承自某个系统的 Theme，在 values-v* 目录下修改 xui_themes.xml 的 XUIRootTheme。
  如果要对某 API Level 配置定制化的 Theme，在 values-v* 目录下修改 xui_themes.xml 的 XUITheme。
  如果在项目中要对特定项目配置业务相关的 Theme，在 values 目录下修改 themes.xml 的 AppTheme。
   -->

    <style name="XUIRootTheme" parent="Theme.AppCompat.Light.NoActionBar" />

    <style name="XUIBaseTheme" parent="XUIRootTheme">

        <!--**********************************************
        *                   xui color                   *
        ***********************************************-->
        <!-- CheckBox，RadioButton，SwitchCompat等一般控件的选中效果默认采用该颜色 -->
        <item name="colorAccent">@color/xui_config_color_main_theme</item>
        <!--应用的主要色调，actionBar默认使用该颜色，Toolbar导航栏的底色-->
        <item name="colorPrimary">@color/xui_config_color_main_theme</item>
        <!--应用的主要暗色调，statusBarColor默认使用该颜色-->
        <item name="colorPrimaryDark">@color/xui_config_color_main_theme</item>
        <item name="colorControlNormal">@color/xui_config_color_control_normal</item>

        <!--**********************************************
        *               通用颜色属性设置                    *
        ***********************************************-->
        <item name="xui_config_color_error_text">@color/xui_config_color_red</item>
        <item name="xui_config_color_input_text">@color/xui_config_color_edittext_input_text</item>
        <item name="xui_config_color_hint_text">@color/xui_config_color_edittext_hint_text</item>
        <item name="xui_config_color_stroke">@color/xui_config_color_edittext_stroke</item>
        <item name="xui_config_color_disable">@color/xui_config_color_edittext_disable</item>
        <item name="xui_config_color_pressed">@color/xui_config_color_background_pressed</item>

        <!--无Title-->
        <item name="android:windowNoTitle">true</item>
        <item name="windowActionBar">false</item>
        <item name="windowNoTitle">true</item>
        <item name="android:windowContentOverlay">@null</item>

        <!-- 透明度 -->
        <item name="xui_switch_alpha_pressed">true</item>
        <item name="xui_switch_alpha_disabled">true</item>
        <item name="xui_alpha_pressed">@dimen/xui_alpha_pressed</item>
        <item name="xui_alpha_disabled">@dimen/xui_alpha_disabled</item>

        <item name="xui_general_shadow_elevation">@dimen/default_xui_general_shadow_elevation</item>
        <item name="xui_general_shadow_alpha">@dimen/default_xui_general_shadow_alpha</item>

        <!--actionbar的样式-->
        <item name="xui_actionbar_color">@color/xui_config_color_titlebar</item>
        <item name="xui_actionbar_text_color">@color/xui_config_color_white</item>
        <item name="xui_actionbar_immersive">false</item>
        <item name="xui_actionbar_ic_navigation_back">@drawable/xui_ic_navigation_back_white</item>

        <!-- 文字的style -->
        <item name="android:textViewStyle">@style/AppTheme.Widget.TextView</item>
        <item name="textFieldStyle">@style/TextField</item>
        <item name="xui_config_color_title_text">@color/xui_config_color_title_text</item>
        <item name="xui_config_color_content_text">@color/xui_config_color_content_text</item>
        <item name="xui_config_color_explain_text">@color/xui_config_color_explain_text</item>
        <!--应用的主要文字颜色，actionBar的标题文字默认使用该颜色-->
        <item name="android:textColorPrimary">@color/xui_config_color_primary_text</item>

        <!-- 按钮的style -->
        <item name="android:imageButtonStyle">@style/ImageButton</item>
        <item name="imageButtonStyle">@style/ImageButton</item>
        <item name="android:buttonStyle">@style/Button</item>
        <item name="buttonStyle">@style/Button</item>

        <!-- 输入框的style -->
        <item name="android:editTextColor">?attr/xui_config_color_input_text</item>
        <item name="editTextColor">?attr/xui_config_color_input_text</item>
        <item name="android:editTextStyle">@style/EditText</item>
        <item name="editTextStyle">@style/EditText</item>

        <!-- Dialog的style -->
        <item name="xui_dialog_background_dim_amount">0.6</item>

        <!-- 条目的style -->
        <item name="android:gridViewStyle">@style/GridView</item>
        <!--<item name="selectableItemBackground">@drawable/xui_config_selectable_item_selector</item>-->
        <item name="android:listSelector">@drawable/xui_config_selectable_item_selector</item>
        <item name="android:listDivider">@drawable/xui_config_list_divider</item>

        <!--**********************************************
        *                   SuperTextView                *
        ***********************************************-->
        <item name="stv_color_common_text">@color/stv_color_common_text</item>
        <item name="stv_color_shape">@color/xui_config_color_white</item>
        <item name="stv_text_size">@dimen/default_stv_text_size</item>
        <item name="stv_max_ems">20</item>
        <item name="stv_margin">@dimen/default_stv_margin</item>

        <!--**********************************************
        *                   xui_round_btn                *
        ***********************************************-->
        <item name="xui_round_btn_bg_color">@color/xui_transparent</item>
        <item name="xui_round_btn_border_color">@color/xui_default_round_btn_blue_border</item>
        <item name="xui_round_btn_text_color">@color/xui_default_round_btn_blue_text</item>
        <item name="xui_btn_view_disable_color">@color/xui_btn_disable_color</item>

        <!--*********************************************
        *           MaterialDialog(共同样式）            *
        **********************************************-->
        <item name="md_regular_font">@string/default_app_font_path</item>
        <item name="md_medium_font">@string/default_app_font_path</item>
        <item name="md_title_color">?attr/xui_config_color_title_text</item>
        <item name="md_content_color">?attr/xui_config_color_content_text</item>
        <item name="md_explain_color">?attr/xui_config_color_explain_text</item>
        <item name="md_link_color">?attr/colorAccent</item>
        <item name="md_icon_limit_icon_to_default_size">false</item>

        <!--**********************************************
        *                   xui popup                    *
        ***********************************************-->
        <item name="xui_popup_bg">@drawable/xui_popup_bg</item>
        <item name="xui_popup_arrow_down">@drawable/xui_popup_arrow_down</item>
        <item name="xui_popup_arrow_up">@drawable/xui_popup_arrow_up</item>
        <item name="xui_popup_arrow_up_margin_top">0dp</item>
        <item name="xui_popup_arrow_down_margin_bottom">0dp</item>

        <!--**********************************************
        *               xui 提供的drawable                *
        ***********************************************-->
        <item name="xui_icon_checkbox">@drawable/xui_icon_checkbox</item>
        <item name="xui_icon_check_mark">@drawable/xui_icon_check_mark</item>

        <item name="xui_common_list_item_chevron">@drawable/xui_icon_chevron</item>
        <item name="xui_common_list_item_switch">@drawable/xui_icon_switch_selector</item>

        <!--**********************************************
        *               xui common list                  *
        ***********************************************-->
        <item name="xui_common_list_item_icon_margin_right">12dp</item>
        <item name="xui_common_list_item_accessory_margin_left">14dp</item>
        <item name="xui_common_list_item_title_v_text_size">15sp</item>
        <item name="xui_common_list_item_title_h_text_size">16sp</item>
        <item name="xui_common_list_item_h_space_min_width">14dp</item>
        <item name="xui_common_list_item_detail_v_text_size">13sp</item>
        <item name="xui_common_list_item_detail_h_text_size">14sp</item>
        <item name="xui_common_list_item_detail_line_space">5dp</item>

        <item name="xui_list_item_bg_with_border_bottom">
            @drawable/xui_list_item_bg_with_border_bottom
        </item>
        <item name="xui_list_item_bg_with_border_bottom_pressed">
            @drawable/xui_list_item_bg_with_border_bottom_pressed
        </item>
        <item name="xui_list_item_bg_with_border_bottom_selector">
            @drawable/xui_list_item_bg_with_border_bottom_selector
        </item>
        <item name="xui_list_item_bg_with_border_double">
            @drawable/xui_list_item_bg_with_border_double
        </item>
        <item name="xui_list_item_bg_with_border_double_pressed">
            @drawable/xui_list_item_bg_with_border_double_pressed
        </item>
        <item name="xui_list_item_bg_with_border_double_selector">
            @drawable/xui_list_item_bg_with_border_double_selector
        </item>
        <item name="xui_list_item_bg_with_border_none_selector">
            @drawable/xui_list_item_bg_with_border_none_selector
        </item>
        <item name="xui_list_item_bg_with_border_top">@drawable/xui_list_item_bg_with_border_top
        </item>
        <item name="xui_list_item_bg_with_border_top_pressed">
            @drawable/xui_list_item_bg_with_border_top_pressed
        </item>
        <item name="xui_list_item_bg_with_border_top_selector">
            @drawable/xui_list_item_bg_with_border_top_selector
        </item>

        <item name="xui_list_item_height">@dimen/xui_list_item_height</item>
        <item name="xui_list_item_height_higher">@dimen/xui_list_item_height_higher</item>
        <!--**********************************************
        *                 xui bottom sheet              *
        ***********************************************-->
        <item name="xui_bottom_sheet_title_style">@style/BottomSheetTitleStyle</item>
        <item name="xui_bottom_sheet_title_appearance">@style/TextStyle.Title</item>
        <item name="xui_bottom_sheet_title_bg">?attr/xui_list_item_bg_with_border_bottom_selector
        </item>

        <item name="xui_bottom_sheet_list_item_padding_horizontal">
            ?attr/xui_config_content_spacing_horizontal
        </item>
        <item name="xui_bottom_sheet_list_item_text_style">@style/BottomSheetListItemTextStyle
        </item>
        <item name="xui_bottom_sheet_list_item_text_appearance">@style/TextStyle.Content</item>
        <item name="xui_bottom_sheet_list_item_bg">
            ?attr/xui_list_item_bg_with_border_bottom_selector
        </item>
        <item name="xui_bottom_sheet_grid_item_text_appearance">@style/TextStyle.Explain</item>

        <item name="xui_bottom_sheet_button_text_color">@color/xui_config_color_gray_2</item>
        <item name="xui_bottom_sheet_button_background">@drawable/xui_divider_top_bitmap</item>

        <!--**********************************************
        *                  xui tabSegment               *
        ***********************************************-->
        <item name="xui_tab_sign_count_view">@style/TabSegment_CountView</item>
        <item name="xui_tab_sign_count_view_minSize">@dimen/xui_tab_sign_count_view_minSize</item>
        <item name="xui_tab_sign_count_view_minSize_with_text">
            @dimen/xui_tab_sign_count_view_minSize_with_text
        </item>
        <item name="xui_tab_sign_count_view_bg">@drawable/xui_sign_count_view_bg</item>
        <item name="xui_tab_sign_count_view_padding_horizontal">4dp</item>

        <!--**********************************************
        *                  xui MaterialSearchView        *
        ***********************************************-->
        <item name="search_icon_padding">@dimen/default_search_icon_padding</item>
        <item name="search_view_text_padding">@dimen/default_search_view_text_padding</item>
        <item name="search_view_text_size">@dimen/default_search_view_text_size</item>
        <item name="search_view_text_color">@color/default_search_view_text_color</item>
        <item name="search_view_text_color_hint">@color/default_search_view_text_color_hint</item>
        <item name="search_view_ic_suggestion">@drawable/xui_ic_suggestion</item>
        <item name="search_view_layover_bg_color">@color/default_search_view_layover_bg_color</item>
        <item name="search_view_ic_back">@drawable/xui_ic_action_navigation_arrow_back</item>
        <item name="search_view_ic_video">@drawable/xui_ic_action_voice_search</item>
        <item name="search_view_ic_clear">@drawable/xui_ic_action_navigation_clear</item>

        <!--**********************************************
        *               xui 提供的控件样式                  *
        ***********************************************-->
        <item name="TitleBarStyle">@style/TitleBar</item>
        <item name="XUITipPointStyle">@style/XUITipPoint</item>
        <item name="XUITipNewStyle">@style/XUITipNew</item>
        <item name="XUIGroupListViewStyle">@style/XUIGroupListView</item>
        <item name="XUICommonListItemViewStyle">@style/XUICommonListItemView</item>
        <item name="XUIGroupListSectionViewStyle">@style/XUIGroupListSectionView</item>
        <item name="MiniLoadingStyle">@style/MiniLoadingView</item>
        <item name="RulerViewStyle">@style/RulerView</item>
        <item name="RadiusImageViewStyle">@style/RadiusImageView</item>
        <item name="TabSegmentStyle">@style/TabSegment</item>
        <item name="VerifyCodeEditTextStyle">@style/VerifyCodeEditText</item>
        <item name="HorizontalProgressViewStyle">@style/HorizontalProgressView</item>
        <item name="CircleProgressViewStyle">@style/CircleProgressView</item>
        <item name="ClearEditTextStyle">@style/EditText.Clear</item>
        <item name="PasswordEditTextStyle">@style/EditText.Password</item>
        <item name="MaterialEditTextStyle">@style/EditText.Material</item>
        <item name="ValidatorEditTextStyle">@style/EditText.Validator</item>
        <item name="EasyIndicatorStyle">@style/EasyIndicator</item>
        <item name="MultipleStatusViewStyle">@style/MultipleStatusView</item>
        <item name="StatusViewStyle">@style/StatusView</item>
        <item name="StatefulLayoutStyle">@style/StatefulLayout</item>
        <item name="CountDownButtonStyle">@style/CountDownButton</item>
        <item name="AutoFitTextViewStyle">@style/AutoFitTextView</item>
        <item name="RippleViewStyle">@style/RippleView</item>
        <item name="BannerLayoutStyle">@style/BannerLayout</item>
        <item name="DropDownMenuStyle">@style/DropDownMenu</item>
    </style>

    <style name="XUITheme" parent="XUIBaseTheme" />

    <!--窗体背景，这个背景能在第一时间显示, 避免启动时白屏，黑屏问题-->
    <style name="XUITheme.Launch">
        <item name="xui_config_color_splash_bg">@color/xui_config_color_white</item>
        <item name="xui_config_app_logo_bottom">@dimen/xui_config_app_logo_bottom</item>
        <item name="xui_config_company_logo_bottom">@dimen/xui_config_company_logo_bottom</item>
        <item name="android:windowBackground">@drawable/xui_config_preview_window</item>
        <item name="android:windowFullscreen">true</item>
    </style>
    <!--*********************************************
    *                  XUI主题                       *
    **********************************************-->
    <!--平板主题-->
    <style name="XUITheme.Tablet">
        <item name="xui_config_color_background">@color/xui_config_color_background_tablet</item>
        <item name="android:windowBackground">?attr/xui_config_color_background</item>

        <item name="xui_config_color_separator_light">
            @color/xui_config_color_separator_light_tablet
        </item>
        <item name="xui_config_color_separator_dark">@color/xui_config_color_separator_dark_tablet
        </item>

        <item name="xui_config_divider_height">@dimen/xui_list_divider_height_table</item>
        <item name="android:listViewStyle">@style/ListView.Tablet</item>

    </style>

    <!--大平板主题-->
    <style name="XUITheme.Tablet.Big">
        <!--全局样式-->
        <item name="xui_config_content_spacing_horizontal">
            @dimen/xui_config_content_spacing_horizontal_tablet_big
        </item>
        <item name="xui_config_content_spacing_vertical">
            @dimen/xui_config_content_spacing_vertical_tablet_big
        </item>
        <item name="xui_config_simple_list_item_height">
            @dimen/xui_config_simple_list_item_height_tablet_big
        </item>
        <item name="xui_config_simple_list_icon_size">
            @dimen/xui_config_simple_list_icon_size_tablet_big
        </item>
        <item name="xui_config_separator_height">@dimen/xui_config_separator_height_tablet_big
        </item>
        <!--文字字号样式-->
        <item name="xui_config_size_title_text">@dimen/xui_config_size_title_text_tablet_big</item>
        <item name="xui_config_size_content_text">@dimen/xui_config_size_content_text_tablet_big
        </item>
        <item name="xui_config_size_explain_text">@dimen/xui_config_size_explain_text_tablet_big
        </item>
        <item name="xui_config_size_spinner_text">@dimen/xui_config_size_spinner_text_tablet_big
        </item>
        <!--按钮样式-->
        <item name="xui_btn_view_radius">@dimen/default_btn_view_radius_tablet_big</item>
        <item name="xui_btn_view_width">@dimen/default_btn_view_width_tablet_big</item>
        <item name="xui_btn_view_height">@dimen/default_btn_view_height_tablet_big</item>
        <item name="xui_btn_view_text_size">@dimen/default_btn_view_text_size_tablet_big</item>
        <item name="xui_btn_view_border_width">@dimen/default_btn_view_border_width_tablet_big
        </item>
        <item name="xui_config_icon_drawable_padding">
            @dimen/xui_config_icon_drawable_padding_tablet_big
        </item>
        <item name="xui_guide_btn_padding_horizontal">
            @dimen/xui_guide_btn_padding_horizontal_table_big
        </item>
        <item name="xui_guide_btn_padding_vertical">
            @dimen/xui_guide_btn_padding_vertical_table_big
        </item>
        <item name="xui_guide_btn_margin_bottom">@dimen/xui_guide_btn_margin_bottom_table_big</item>
        <!--输入框样式-->
        <item name="xui_config_size_edittext_input_text">
            @dimen/xui_config_size_edittext_input_text_tablet_big
        </item>
        <item name="xui_config_size_edittext_helper_text">
            @dimen/xui_config_size_edittext_helper_text_tablet_big
        </item>
        <item name="xui_config_size_edittext_components_spacing">
            @dimen/xui_config_size_edittext_components_spacing_tablet_big
        </item>
        <item name="xui_config_size_edittext_left_padding">
            @dimen/xui_config_size_edittext_left_padding_tablet_big
        </item>
        <item name="xui_config_size_edittext_radius">
            @dimen/xui_config_size_edittext_radius_tablet_big
        </item>
        <item name="xui_config_size_edittext_height">
            @dimen/xui_config_size_edittext_height_tablet_big
        </item>
        <!--actionbar-->
        <item name="xui_actionbar_height">@dimen/xui_actionbar_height_tablet_big</item>
        <item name="xui_actionbar_title_text_size">@dimen/xui_actionbar_title_text_size_tablet_big
        </item>
        <item name="xui_actionbar_action_text_size">
            @dimen/xui_actionbar_action_text_size_tablet_big
        </item>
        <item name="xui_actionbar_sub_text_size">@dimen/xui_actionbar_sub_text_size_tablet_big
        </item>
        <item name="xui_actionbar_action_padding">@dimen/xui_actionbar_action_padding_tablet_big
        </item>
        <item name="xui_actionbar_side_text_padding">
            @dimen/xui_actionbar_side_text_padding_tablet_big
        </item>
        <!--*********************************************
        *                  MaterialDialog               *
        **********************************************-->
        <item name="md_dialog_max_width">@dimen/default_md_dialog_max_width_tablet_big</item>
        <item name="md_dialog_vertical_margin">@dimen/default_md_dialog_vertical_margin_tablet_big
        </item>
        <item name="md_dialog_horizontal_margin">
            @dimen/default_md_dialog_horizontal_margin_tablet_big
        </item>
        <item name="md_button_height">@dimen/default_md_button_height_tablet_big</item>
        <item name="md_button_padding_horizontal">
            @dimen/default_md_button_padding_horizontal_tablet_big
        </item>
        <item name="md_title_textsize">@dimen/default_md_title_textsize_tablet_big</item>
        <item name="md_dialog_frame_margin">@dimen/default_md_dialog_frame_margin_tablet_big</item>
        <item name="md_button_textsize">@dimen/default_md_button_textsize_tablet_big</item>
        <item name="md_content_textsize">@dimen/default_md_content_textsize_tablet_big</item>
        <item name="md_explain_textsize">@dimen/default_md_explain_textsize_tablet_big</item>
        <item name="md_listitem_textsize">@dimen/default_md_listitem_textsize_tablet_big</item>
        <item name="md_icon_max_size">@dimen/default_md_icon_max_size_tablet_big</item>
        <item name="md_icon_margin">@dimen/default_md_icon_margin_tablet_big</item>

        <item name="md_simpleitem_height">@dimen/default_md_simpleitem_height_tablet_big</item>
        <item name="md_simplelist_icon">@dimen/default_md_simplelist_icon_tablet_big</item>
        <item name="md_simplelist_icon_margin">@dimen/default_md_simplelist_icon_margin_tablet_big
        </item>
        <item name="md_simplelist_icon_padding">
            @dimen/default_md_simplelist_icon_padding_tablet_big
        </item>

        <item name="md_preference_content_inset">
            @dimen/default_md_preference_content_inset_tablet_big
        </item>
        <!--popup-->
        <item name="xui_popup_width">@dimen/xui_popup_width_tablet_big</item>
        <item name="xui_tip_popup_padding_top">@dimen/xui_tip_popup_padding_top_tablet_big</item>
        <item name="xui_tip_popup_padding_left">@dimen/xui_tip_popup_padding_left_tablet_big</item>
        <!--spinner-->
        <item name="ms_padding_left_size">@dimen/default_ms_padding_left_size_tablet_big</item>
        <item name="ms_padding_top_size">@dimen/default_ms_padding_top_size_tablet_big</item>
        <item name="ms_item_height_size">@dimen/default_ms_item_height_size_tablet_big</item>
        <item name="ms_dropdown_offset">@dimen/default_ms_dropdown_offset_tablet_big</item>
        <item name="ms_arrow_size">@dimen/default_ms_arrow_size_tablet_big</item>
        <!--StatefulLayout-->
        <item name="stf_progressbar_size">@dimen/default_stf_progressbar_size_tablet_big</item>
        <item name="stf_tip_img_size">@dimen/default_stf_tip_img_size_tablet_big</item>
        <!--*********************************************
        *                  Dialog                       *
        **********************************************-->
        <item name="xui_dialog_radius_size">@dimen/xui_dialog_radius_size_tablet_big</item>
        <item name="xui_dialog_loading_padding_size">
            @dimen/xui_dialog_loading_padding_size_tablet_big
        </item>
        <item name="xui_dialog_loading_min_size">@dimen/xui_dialog_loading_min_size_tablet_big
        </item>
        <item name="xui_dialog_mini_loading_padding_size">
            @dimen/xui_dialog_mini_loading_padding_size_tablet_big
        </item>
        <item name="xui_dialog_mini_loading_min_size">
            @dimen/xui_dialog_mini_loading_min_size_tablet_big
        </item>
        <item name="xui_loading_view_size">@dimen/xui_loading_view_size_tablet_big</item>
        <item name="xui_mini_loading_view_size">@dimen/xui_mini_loading_view_size_tablet_big</item>
        <item name="xui_loading_text_size">@dimen/xui_loading_text_size_tablet_big</item>
        <item name="xui_loading_view_width">@dimen/xui_loading_view_width_tablet_big</item>
        <item name="xui_loading_margin_size">@dimen/xui_loading_margin_size_tablet_big</item>
        <item name="xui_mini_loading_margin_size">@dimen/xui_mini_loading_margin_size_tablet_big
        </item>
        <item name="mini_loading_view_size">@dimen/mini_loading_view_size_tablet_big</item>

        <!--**********************************************
        *                 xui bottom sheet              *
        ***********************************************-->
        <item name="xui_bottom_sheet_title_height">112dp</item>

        <item name="xui_bottom_sheet_list_item_height">112dp</item>
        <item name="xui_bottom_sheet_list_item_mark_margin_left">24dp</item>
        <item name="xui_bottom_sheet_list_item_tip_point_margin_left">8dp</item>
        <item name="xui_bottom_sheet_list_item_icon_size">44dp</item>
        <item name="xui_bottom_sheet_list_item_icon_margin_right">24dp</item>

        <item name="xui_bottom_sheet_grid_padding_vertical">24dp</item>
        <item name="xui_bottom_sheet_grid_line_padding_horizontal">24dp</item>
        <item name="xui_bottom_sheet_grid_line_vertical_space">0dp</item>
        <item name="xui_bottom_sheet_grid_item_mini_width">168dp</item>
        <item name="xui_bottom_sheet_grid_item_paddingTop">0dp</item>
        <item name="xui_bottom_sheet_grid_item_paddingBottom">16dp</item>
        <item name="xui_bottom_sheet_grid_item_icon_size">112dp</item>
        <item name="xui_bottom_sheet_grid_item_icon_marginTop">24dp</item>
        <item name="xui_bottom_sheet_grid_item_icon_marginBottom">18dp</item>

        <item name="xui_bottom_sheet_button_height">112dp</item>
        <item name="xui_bottom_sheet_button_text_size">30sp</item>

    </style>

    <!--小平板主题-->
    <style name="XUITheme.Tablet.Small">
        <!--全局样式-->
        <item name="xui_config_content_spacing_horizontal">
            @dimen/xui_config_content_spacing_horizontal_tablet_small
        </item>
        <item name="xui_config_content_spacing_vertical">
            @dimen/xui_config_content_spacing_vertical_tablet_small
        </item>
        <item name="xui_config_simple_list_item_height">
            @dimen/xui_config_simple_list_item_height_tablet_small
        </item>
        <item name="xui_config_simple_list_icon_size">
            @dimen/xui_config_simple_list_icon_size_tablet_small
        </item>
        <item name="xui_config_separator_height">@dimen/xui_config_separator_height_tablet_small
        </item>
        <!--文字字号样式-->
        <item name="xui_config_size_title_text">@dimen/xui_config_size_title_text_tablet_small
        </item>
        <item name="xui_config_size_content_text">@dimen/xui_config_size_content_text_tablet_small
        </item>
        <item name="xui_config_size_explain_text">@dimen/xui_config_size_explain_text_tablet_small
        </item>
        <item name="xui_config_size_spinner_text">@dimen/xui_config_size_spinner_text_tablet_small
        </item>
        <!--按钮样式-->
        <item name="xui_btn_view_radius">@dimen/default_btn_view_radius_tablet_small</item>
        <item name="xui_btn_view_width">@dimen/default_btn_view_width_tablet_small</item>
        <item name="xui_btn_view_height">@dimen/default_btn_view_height_tablet_small</item>
        <item name="xui_btn_view_text_size">@dimen/default_btn_view_text_size_tablet_small</item>
        <item name="xui_btn_view_border_width">@dimen/default_btn_view_border_width_tablet_small
        </item>
        <item name="xui_config_icon_drawable_padding">
            @dimen/xui_config_icon_drawable_padding_tablet_small
        </item>
        <item name="xui_guide_btn_padding_horizontal">
            @dimen/xui_guide_btn_padding_horizontal_table_small
        </item>
        <item name="xui_guide_btn_padding_vertical">
            @dimen/xui_guide_btn_padding_vertical_table_small
        </item>
        <item name="xui_guide_btn_margin_bottom">@dimen/xui_guide_btn_margin_bottom_table_small
        </item>
        <!--输入框样式-->
        <item name="xui_config_size_edittext_input_text">
            @dimen/xui_config_size_edittext_input_text_tablet_small
        </item>
        <item name="xui_config_size_edittext_helper_text">
            @dimen/xui_config_size_edittext_helper_text_tablet_small
        </item>
        <item name="xui_config_size_edittext_components_spacing">
            @dimen/xui_config_size_edittext_components_spacing_tablet_small
        </item>
        <item name="xui_config_size_edittext_left_padding">
            @dimen/xui_config_size_edittext_left_padding_tablet_small
        </item>
        <item name="xui_config_size_edittext_radius">
            @dimen/xui_config_size_edittext_radius_tablet_small
        </item>
        <item name="xui_config_size_edittext_height">
            @dimen/xui_config_size_edittext_height_tablet_small
        </item>
        <!--actionbar-->
        <item name="xui_actionbar_height">@dimen/xui_actionbar_height_tablet_small</item>
        <item name="xui_actionbar_title_text_size">
            @dimen/xui_actionbar_title_text_size_tablet_small
        </item>
        <item name="xui_actionbar_action_text_size">
            @dimen/xui_actionbar_action_text_size_tablet_small
        </item>
        <item name="xui_actionbar_sub_text_size">@dimen/xui_actionbar_sub_text_size_tablet_small
        </item>
        <item name="xui_actionbar_action_padding">@dimen/xui_actionbar_action_padding_tablet_small
        </item>
        <item name="xui_actionbar_side_text_padding">
            @dimen/xui_actionbar_side_text_padding_tablet_small
        </item>
        <!--*********************************************
        *                  MaterialDialog               *
        **********************************************-->
        <item name="md_dialog_max_width">@dimen/default_md_dialog_max_width_tablet_small</item>
        <item name="md_dialog_vertical_margin">
            @dimen/default_md_dialog_vertical_margin_tablet_small
        </item>
        <item name="md_dialog_horizontal_margin">
            @dimen/default_md_dialog_horizontal_margin_tablet_small
        </item>
        <item name="md_button_height">@dimen/default_md_button_height_tablet_small</item>
        <item name="md_button_padding_horizontal">
            @dimen/default_md_button_padding_horizontal_tablet_small
        </item>
        <item name="md_title_textsize">@dimen/default_md_title_textsize_tablet_small</item>
        <item name="md_dialog_frame_margin">@dimen/default_md_dialog_frame_margin_tablet_small
        </item>
        <item name="md_button_textsize">@dimen/default_md_button_textsize_tablet_small</item>
        <item name="md_content_textsize">@dimen/default_md_content_textsize_tablet_small</item>
        <item name="md_explain_textsize">@dimen/default_md_explain_textsize_tablet_small</item>
        <item name="md_listitem_textsize">@dimen/default_md_listitem_textsize_tablet_small</item>
        <item name="md_icon_max_size">@dimen/default_md_icon_max_size_tablet_small</item>
        <item name="md_icon_margin">@dimen/default_md_icon_margin_tablet_small</item>

        <item name="md_simpleitem_height">@dimen/default_md_simpleitem_height_tablet_small</item>
        <item name="md_simplelist_icon">@dimen/default_md_simplelist_icon_tablet_small</item>
        <item name="md_simplelist_icon_margin">
            @dimen/default_md_simplelist_icon_margin_tablet_small
        </item>
        <item name="md_simplelist_icon_padding">
            @dimen/default_md_simplelist_icon_padding_tablet_small
        </item>

        <item name="md_preference_content_inset">
            @dimen/default_md_preference_content_inset_tablet_small
        </item>
        <!--popup-->
        <item name="xui_popup_width">@dimen/xui_popup_width_tablet_small</item>
        <item name="xui_tip_popup_padding_top">@dimen/xui_tip_popup_padding_top_tablet_small</item>
        <item name="xui_tip_popup_padding_left">@dimen/xui_tip_popup_padding_left_tablet_small
        </item>
        <!--spinner-->
        <item name="ms_padding_left_size">@dimen/default_ms_padding_left_size_tablet_small</item>
        <item name="ms_padding_top_size">@dimen/default_ms_padding_top_size_tablet_small</item>
        <item name="ms_item_height_size">@dimen/default_ms_item_height_size_tablet_small</item>
        <item name="ms_dropdown_offset">@dimen/default_ms_dropdown_offset_tablet_small</item>
        <item name="ms_arrow_size">@dimen/default_ms_arrow_size_tablet_small</item>
        <!--StatefulLayout-->
        <item name="stf_progressbar_size">@dimen/default_stf_progressbar_size_tablet_small</item>
        <item name="stf_tip_img_size">@dimen/default_stf_tip_img_size_tablet_small</item>
        <!--*********************************************
        *                  Dialog                       *
        **********************************************-->
        <item name="xui_dialog_radius_size">@dimen/xui_dialog_radius_size_tablet_small</item>
        <item name="xui_dialog_loading_padding_size">
            @dimen/xui_dialog_loading_padding_size_tablet_small
        </item>
        <item name="xui_dialog_loading_min_size">@dimen/xui_dialog_loading_min_size_tablet_small
        </item>
        <item name="xui_dialog_mini_loading_padding_size">
            @dimen/xui_dialog_mini_loading_padding_size_tablet_small
        </item>
        <item name="xui_dialog_mini_loading_min_size">
            @dimen/xui_dialog_mini_loading_min_size_tablet_small
        </item>
        <item name="xui_loading_view_size">@dimen/xui_loading_view_size_tablet_small</item>
        <item name="xui_mini_loading_view_size">@dimen/xui_mini_loading_view_size_tablet_small
        </item>
        <item name="xui_loading_text_size">@dimen/xui_loading_text_size_tablet_small</item>
        <item name="xui_loading_view_width">@dimen/xui_loading_view_width_tablet_small</item>
        <item name="xui_loading_margin_size">@dimen/xui_loading_margin_size_tablet_small</item>
        <item name="xui_mini_loading_margin_size">@dimen/xui_mini_loading_margin_size_tablet_small
        </item>
        <item name="mini_loading_view_size">@dimen/mini_loading_view_size_tablet_small</item>

        <!--**********************************************
        *                 xui bottom sheet              *
        ***********************************************-->
        <item name="xui_bottom_sheet_title_height">84dp</item>

        <item name="xui_bottom_sheet_list_item_height">84dp</item>
        <item name="xui_bottom_sheet_list_item_mark_margin_left">18dp</item>
        <item name="xui_bottom_sheet_list_item_tip_point_margin_left">6dp</item>
        <item name="xui_bottom_sheet_list_item_icon_size">33dp</item>
        <item name="xui_bottom_sheet_list_item_icon_margin_right">18dp</item>

        <item name="xui_bottom_sheet_grid_padding_vertical">18dp</item>
        <item name="xui_bottom_sheet_grid_line_padding_horizontal">18dp</item>
        <item name="xui_bottom_sheet_grid_line_vertical_space">0dp</item>
        <item name="xui_bottom_sheet_grid_item_mini_width">126dp</item>
        <item name="xui_bottom_sheet_grid_item_paddingTop">0dp</item>
        <item name="xui_bottom_sheet_grid_item_paddingBottom">12dp</item>
        <item name="xui_bottom_sheet_grid_item_icon_size">84dp</item>
        <item name="xui_bottom_sheet_grid_item_icon_marginTop">18dp</item>
        <item name="xui_bottom_sheet_grid_item_icon_marginBottom">14dp</item>

        <item name="xui_bottom_sheet_button_height">84dp</item>
        <item name="xui_bottom_sheet_button_text_size">22sp</item>

    </style>

    <!--手机主题-->
    <style name="XUITheme.Phone">
        <!--全局样式-->
        <item name="xui_config_content_spacing_horizontal">
            @dimen/xui_config_content_spacing_horizontal_phone
        </item>
        <item name="xui_config_content_spacing_vertical">
            @dimen/xui_config_content_spacing_vertical_phone
        </item>
        <item name="xui_config_simple_list_item_height">
            @dimen/xui_config_simple_list_item_height_phone
        </item>
        <item name="xui_config_simple_list_icon_size">
            @dimen/xui_config_simple_list_icon_size_phone
        </item>
        <item name="xui_config_separator_height">@dimen/xui_config_separator_height_phone</item>

        <item name="xui_config_color_background">@color/xui_config_color_background_phone</item>
        <item name="android:windowBackground">?attr/xui_config_color_background</item>

        <item name="xui_config_color_separator_light">
            @color/xui_config_color_separator_light_phone
        </item>
        <item name="xui_config_color_separator_dark">@color/xui_config_color_separator_dark_phone
        </item>
        <item name="xui_config_divider_height">@dimen/xui_list_divider_height_phone</item>
        <item name="android:listViewStyle">@style/ListView.Phone</item>

        <!--文字字号样式-->
        <item name="xui_config_size_title_text">@dimen/xui_config_size_title_text_phone</item>
        <item name="xui_config_size_content_text">@dimen/xui_config_size_content_text_phone</item>
        <item name="xui_config_size_explain_text">@dimen/xui_config_size_explain_text_phone</item>
        <item name="xui_config_size_spinner_text">@dimen/xui_config_size_spinner_text_phone</item>
        <!--按钮样式-->
        <item name="xui_btn_view_radius">@dimen/default_btn_view_radius_phone</item>
        <item name="xui_btn_view_width">@dimen/default_btn_view_width_phone</item>
        <item name="xui_btn_view_height">@dimen/default_btn_view_height_phone</item>
        <item name="xui_btn_view_text_size">@dimen/default_btn_view_text_size_phone</item>
        <item name="xui_btn_view_border_width">@dimen/default_btn_view_border_width_phone</item>
        <item name="xui_config_icon_drawable_padding">
            @dimen/xui_config_icon_drawable_padding_phone
        </item>
        <item name="xui_guide_btn_padding_horizontal">
            @dimen/xui_guide_btn_padding_horizontal_phone
        </item>
        <item name="xui_guide_btn_padding_vertical">@dimen/xui_guide_btn_padding_vertical_phone
        </item>
        <item name="xui_guide_btn_margin_bottom">@dimen/xui_guide_btn_margin_bottom_phone</item>
        <!--输入框样式-->
        <item name="xui_config_size_edittext_input_text">
            @dimen/xui_config_size_edittext_input_text_phone
        </item>
        <item name="xui_config_size_edittext_helper_text">
            @dimen/xui_config_size_edittext_helper_text_phone
        </item>
        <item name="xui_config_size_edittext_components_spacing">
            @dimen/xui_config_size_edittext_components_spacing_phone
        </item>
        <item name="xui_config_size_edittext_left_padding">
            @dimen/xui_config_size_edittext_left_padding_phone
        </item>
        <item name="xui_config_size_edittext_radius">@dimen/xui_config_size_edittext_radius_phone
        </item>
        <item name="xui_config_size_edittext_height">@dimen/xui_config_size_edittext_height_phone
        </item>
        <!--actionbar-->
        <item name="xui_actionbar_height">@dimen/xui_actionbar_height_phone</item>
        <item name="xui_actionbar_title_text_size">@dimen/xui_actionbar_title_text_size_phone</item>
        <item name="xui_actionbar_action_text_size">@dimen/xui_actionbar_action_text_size_phone
        </item>
        <item name="xui_actionbar_sub_text_size">@dimen/xui_actionbar_sub_text_size_phone</item>
        <item name="xui_actionbar_action_padding">@dimen/xui_actionbar_action_padding_phone</item>
        <item name="xui_actionbar_side_text_padding">@dimen/xui_actionbar_side_text_padding_phone
        </item>
        <!--*********************************************
        *                  MaterialDialog               *
        **********************************************-->
        <item name="md_dialog_max_width">@dimen/default_md_dialog_max_width_phone</item>
        <item name="md_dialog_vertical_margin">@dimen/default_md_dialog_vertical_margin_phone</item>
        <item name="md_dialog_horizontal_margin">@dimen/default_md_dialog_horizontal_margin_phone
        </item>
        <item name="md_button_height">@dimen/default_md_button_height_phone</item>
        <item name="md_button_padding_horizontal">
            @dimen/default_md_button_padding_horizontal_phone
        </item>
        <item name="md_title_textsize">@dimen/default_md_title_textsize_phone</item>
        <item name="md_dialog_frame_margin">@dimen/default_md_dialog_frame_margin_phone</item>
        <item name="md_button_textsize">@dimen/default_md_button_textsize_phone</item>
        <item name="md_content_textsize">@dimen/default_md_content_textsize_phone</item>
        <item name="md_explain_textsize">@dimen/default_md_explain_textsize_phone</item>
        <item name="md_listitem_textsize">@dimen/default_md_listitem_textsize_phone</item>
        <item name="md_icon_max_size">@dimen/default_md_icon_max_size_phone</item>
        <item name="md_icon_margin">@dimen/default_md_icon_margin_phone</item>

        <item name="md_simpleitem_height">@dimen/default_md_simpleitem_height_phone</item>
        <item name="md_simplelist_icon">@dimen/default_md_simplelist_icon_phone</item>
        <item name="md_simplelist_icon_margin">@dimen/default_md_simplelist_icon_margin_phone</item>
        <item name="md_simplelist_icon_padding">@dimen/default_md_simplelist_icon_padding_phone
        </item>

        <item name="md_preference_content_inset">@dimen/default_md_preference_content_inset_phone
        </item>
        <!--popup-->
        <item name="xui_popup_width">@dimen/xui_popup_width_phone</item>
        <item name="xui_tip_popup_padding_top">@dimen/xui_tip_popup_padding_top_phone</item>
        <item name="xui_tip_popup_padding_left">@dimen/xui_tip_popup_padding_left_phone</item>
        <!--spinner-->
        <item name="ms_padding_left_size">@dimen/default_ms_padding_left_size_phone</item>
        <item name="ms_padding_top_size">@dimen/default_ms_padding_top_size_phone</item>
        <item name="ms_item_height_size">@dimen/default_ms_item_height_size_phone</item>
        <item name="ms_dropdown_offset">@dimen/default_ms_dropdown_offset_phone</item>
        <item name="ms_arrow_size">@dimen/default_ms_arrow_size_phone</item>
        <!--StatefulLayout-->
        <item name="stf_progressbar_size">@dimen/default_stf_progressbar_size_phone</item>
        <item name="stf_tip_img_size">@dimen/default_stf_tip_img_size_phone</item>
        <!--*********************************************
        *                  Dialog                       *
        **********************************************-->
        <item name="xui_dialog_radius_size">@dimen/xui_dialog_radius_size_phone</item>
        <item name="xui_dialog_loading_padding_size">@dimen/xui_dialog_loading_padding_size_phone
        </item>
        <item name="xui_dialog_loading_min_size">@dimen/xui_dialog_loading_min_size_phone</item>
        <item name="xui_dialog_mini_loading_padding_size">
            @dimen/xui_dialog_mini_loading_padding_size_phone
        </item>
        <item name="xui_dialog_mini_loading_min_size">
            @dimen/xui_dialog_mini_loading_min_size_phone
        </item>
        <item name="xui_loading_view_size">@dimen/xui_loading_view_size_phone</item>
        <item name="xui_mini_loading_view_size">@dimen/xui_mini_loading_view_size_phone</item>
        <item name="xui_loading_text_size">@dimen/xui_loading_text_size_phone</item>
        <item name="xui_loading_view_width">@dimen/xui_loading_view_width_phone</item>
        <item name="xui_loading_margin_size">@dimen/xui_loading_margin_size_phone</item>
        <item name="xui_mini_loading_margin_size">@dimen/xui_mini_loading_margin_size_phone</item>
        <item name="mini_loading_view_size">@dimen/mini_loading_view_size_phone</item>

        <!--**********************************************
        *                 xui bottom sheet              *
        ***********************************************-->
        <item name="xui_bottom_sheet_title_height">56dp</item>

        <item name="xui_bottom_sheet_list_item_height">56dp</item>
        <item name="xui_bottom_sheet_list_item_mark_margin_left">12dp</item>
        <item name="xui_bottom_sheet_list_item_tip_point_margin_left">4dp</item>
        <item name="xui_bottom_sheet_list_item_icon_size">22dp</item>
        <item name="xui_bottom_sheet_list_item_icon_margin_right">12dp</item>

        <item name="xui_bottom_sheet_grid_padding_vertical">12dp</item>
        <item name="xui_bottom_sheet_grid_line_padding_horizontal">12dp</item>
        <item name="xui_bottom_sheet_grid_line_vertical_space">0dp</item>
        <item name="xui_bottom_sheet_grid_item_mini_width">84dp</item>
        <item name="xui_bottom_sheet_grid_item_paddingTop">0dp</item>
        <item name="xui_bottom_sheet_grid_item_paddingBottom">8dp</item>
        <item name="xui_bottom_sheet_grid_item_icon_size">56dp</item>
        <item name="xui_bottom_sheet_grid_item_icon_marginTop">12dp</item>
        <item name="xui_bottom_sheet_grid_item_icon_marginBottom">9dp</item>

        <item name="xui_bottom_sheet_button_height">56dp</item>
        <item name="xui_bottom_sheet_button_text_size">15sp</item>

    </style>

    <!--********************************************
    *                 字体设置                      *
    **********************************************-->
    <style name="AppTheme.Widget.TextView" parent="android:Widget.Holo.Light.TextView">
        <item name="fontPath">@string/default_app_font_path</item>
        <item name="android:textDirection">locale</item>
    </style>

    <style name="TextAppearance.FontPath" parent="TextAppearanceBase">
        <item name="fontPath">@string/default_app_font_path</item>
        <item name="android:textDirection">locale</item>
    </style>

    <!-- Custom Class Styles -->
    <style name="TextField" parent="android:Widget.Holo.Light.TextView">
        <item name="fontPath">@string/default_app_font_path</item>
        <item name="android:textDirection">locale</item>
    </style>

    <!--*********************************************
     *                  按钮样式                    *
     **********************************************-->
    <style name="ImageButton" parent="ImageButtonBase">
        <item name="android:background">@color/xui_config_color_transparent</item>
    </style>

    <style name="Button" parent="ButtonBase">
        <item name="android:paddingTop">0dp</item>
        <item name="android:paddingBottom">0dp</item>
        <item name="android:minHeight">?attr/xui_btn_view_height</item>
        <item name="android:background">@null</item>
    </style>

    <!--**********************************************
    *                  BaseStyle                    *
    **********************************************-->
    <style name="ActionBarBase" parent="android:Widget.Holo.Light.ActionBar" />

    <style name="ActionBarTitleTextBase" parent="android:TextAppearance.Holo.Widget.ActionBar.Title" />

    <style name="ListViewBase" parent="android:Widget.Holo.Light.ListView">
        <item name="android:background">@color/xui_config_color_transparent</item>
        <item name="android:listSelector">@drawable/xui_config_selectable_item_selector</item>
    </style>

    <style name="GridViewBase" parent="android:Widget.Holo.Light.GridView" />

    <style name="ImageButtonBase" parent="android:Widget.Holo.Light.ImageButton" />

    <style name="ButtonBase" parent="android:Widget.Holo.Light.Button" />

    <style name="EditTextBase" parent="android:Widget.Holo.Light.EditText">
        <item name="android:textAlignment">viewStart</item>
        <item name="android:gravity">start|center_vertical</item>
        <item name="android:textDirection">locale</item>
    </style>

    <style name="AutoCompleteTextViewBase" parent="android:Widget.Holo.Light.AutoCompleteTextView" />

    <style name="DropDownListViewBase" parent="android:Widget.Holo.Light.ListView.DropDown" />

    <style name="TextAppearanceBase" parent="android:TextAppearance.Holo" />

</resources>
