87 lines
4.2 KiB
XML
87 lines
4.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2012 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>
|
|
|
|
<!-- The maximum number of action buttons that should be permitted within
|
|
an action bar/action mode. This will be used to determine how many
|
|
showAsAction="ifRoom" items can fit. "always" items can override this. -->
|
|
<integer name="abc_max_action_buttons">2</integer>
|
|
|
|
<!-- Maximum width for a stacked action bar tab. This prevents
|
|
action bar tabs from becoming too wide on a wide screen when only
|
|
a few are present. -->
|
|
<dimen name="abc_action_bar_stacked_tab_max_width">180dp</dimen>
|
|
|
|
<!-- Maximum height for a stacked tab bar as part of an action bar -->
|
|
<dimen name="abc_action_bar_stacked_max_height">48dp</dimen>
|
|
<!-- Size of the indeterminate Progress Bar -->
|
|
<dimen name="abc_action_bar_progress_bar_size">40dp</dimen>
|
|
|
|
<dimen name="abc_panel_menu_list_width">296dp</dimen>
|
|
|
|
<!-- Minimum width of the search view text entry area. -->
|
|
<dimen name="abc_search_view_text_min_width">160dip</dimen>
|
|
<!-- Preferred width of the search view. -->
|
|
<dimen name="abc_search_view_preferred_width">320dip</dimen>
|
|
|
|
<!-- Text padding for dropdown items -->
|
|
<dimen name="abc_dropdownitem_text_padding_left">8dip</dimen>
|
|
<dimen name="abc_dropdownitem_text_padding_right">8dip</dimen>
|
|
<!-- Width of the icon in a dropdown list -->
|
|
<dimen name="abc_dropdownitem_icon_width">32dip</dimen>
|
|
|
|
|
|
<!-- The platform's desired fixed width for a dialog along the major axis
|
|
(the screen is in landscape). This may be either a fraction or a dimension.-->
|
|
<item type="dimen" name="dialog_fixed_width_major">320dp</item>
|
|
<!-- The platform's desired fixed width for a dialog along the minor axis
|
|
(the screen is in portrait). This may be either a fraction or a dimension.-->
|
|
<item type="dimen" name="dialog_fixed_width_minor">320dp</item>
|
|
<!-- The platform's desired fixed height for a dialog along the major axis
|
|
(the screen is in portrait). This may be either a fraction or a dimension.-->
|
|
<item type="dimen" name="dialog_fixed_height_major">80%</item>
|
|
<!-- The platform's desired fixed height for a dialog along the minor axis
|
|
(the screen is in landscape). This may be either a fraction or a dimension.-->
|
|
<item type="dimen" name="dialog_fixed_height_minor">100%</item>
|
|
|
|
<dimen name="abc_button_inset_vertical_material">6dp</dimen>
|
|
<dimen name="abc_button_inset_horizontal_material">@dimen/abc_control_inset_material</dimen>
|
|
<!-- Default inner padding within buttons -->
|
|
<dimen name="abc_button_padding_vertical_material">@dimen/abc_control_padding_material</dimen>
|
|
<dimen name="abc_button_padding_horizontal_material">8dp</dimen>
|
|
|
|
<!-- Default insets (outer padding) around controls -->
|
|
<dimen name="abc_control_inset_material">4dp</dimen>
|
|
<!-- Default inner padding within controls -->
|
|
<dimen name="abc_control_padding_material">4dp</dimen>
|
|
<!-- Default rounded corner for controls -->
|
|
<dimen name="abc_control_corner_material">2dp</dimen>
|
|
|
|
<dimen name="abc_edit_text_inset_horizontal_material">4dp</dimen>
|
|
<dimen name="abc_edit_text_inset_top_material">10dp</dimen>
|
|
<dimen name="abc_edit_text_inset_bottom_material">7dp</dimen>
|
|
|
|
<!-- Since optical insets are not available pre-v18, we add a small amount of padding -->
|
|
<dimen name="abc_switch_padding">3dp</dimen>
|
|
|
|
<dimen name="abc_dialog_padding_material">24dp</dimen>
|
|
<dimen name="abc_dialog_padding_top_material">18dp</dimen>
|
|
|
|
<!-- Dialog button bar height -->
|
|
<dimen name="abc_alert_dialog_button_bar_height">48dp</dimen>
|
|
|
|
</resources>
|