Statistics
| Branch: | Tag: | Revision:

checkey / libs / appcompat / res / values / dimens.xml @ 44e720f7

History | View | Annotate | Download (3.76 KB)

1
<?xml version="1.0" encoding="utf-8"?>
2
<!-- Copyright (C) 2012 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

    
17
<resources>
18

    
19
    <!-- The maximum number of action buttons that should be permitted within
20
         an action bar/action mode. This will be used to determine how many
21
         showAsAction="ifRoom" items can fit. "always" items can override this. -->
22
    <integer name="abc_max_action_buttons">2</integer>
23

    
24
    <!-- Maximum width for a stacked action bar tab. This prevents
25
         action bar tabs from becoming too wide on a wide screen when only
26
         a few are present. -->
27
    <dimen name="abc_action_bar_stacked_tab_max_width">180dp</dimen>
28

    
29
    <!-- Default height of an action bar. -->
30
    <dimen name="abc_action_bar_default_height">48dip</dimen>
31
    <!-- Vertical padding around action bar icons. -->
32
    <dimen name="abc_action_bar_icon_vertical_padding">8dip</dimen>
33
    <!-- Text size for action bar titles -->
34
    <dimen name="abc_action_bar_title_text_size">18dp</dimen>
35
    <!-- Text size for action bar subtitles -->
36
    <dimen name="abc_action_bar_subtitle_text_size">14dp</dimen>
37
    <!-- Top margin for action bar subtitles -->
38
    <dimen name="abc_action_bar_subtitle_top_margin">-3dp</dimen>
39
    <!-- Bottom margin for action bar subtitles -->
40
    <dimen name="abc_action_bar_subtitle_bottom_margin">5dip</dimen>
41
    <!-- Minimum width for an action button in the menu area of an action bar -->
42
    <dimen name="abc_action_button_min_width">56dip</dimen>
43
    <!-- Maximum height for a stacked tab bar as part of an action bar -->
44
    <dimen name="abc_action_bar_stacked_max_height">48dp</dimen>
45
    <!-- Size of the indeterminate Progress Bar -->
46
    <dimen name="abc_action_bar_progress_bar_size">40dp</dimen>
47

    
48
    <dimen name="abc_panel_menu_list_width">296dp</dimen>
49

    
50
    <!-- Minimum width of the search view text entry area. -->
51
    <dimen name="abc_search_view_text_min_width">160dip</dimen>
52
    <!-- Preferred width of the search view. -->
53
    <dimen name="abc_search_view_preferred_width">320dip</dimen>
54

    
55
    <!-- Text padding for dropdown items -->
56
    <dimen name="abc_dropdownitem_text_padding_left">8dip</dimen>
57
    <dimen name="abc_dropdownitem_text_padding_right">8dip</dimen>
58
    <!-- Width of the icon in a dropdown list -->
59
    <dimen name="abc_dropdownitem_icon_width">32dip</dimen>
60

    
61

    
62
    <!-- The platform's desired fixed width for a dialog along the major axis
63
         (the screen is in landscape). This may be either a fraction or a dimension.-->
64
    <item type="dimen" name="dialog_fixed_width_major">320dp</item>
65
    <!-- The platform's desired fixed width for a dialog along the minor axis
66
         (the screen is in portrait). This may be either a fraction or a dimension.-->
67
    <item type="dimen" name="dialog_fixed_width_minor">320dp</item>
68
    <!-- The platform's desired fixed height for a dialog along the major axis
69
         (the screen is in portrait). This may be either a fraction or a dimension.-->
70
    <item type="dimen" name="dialog_fixed_height_major">80%</item>
71
    <!-- The platform's desired fixed height for a dialog along the minor axis
72
         (the screen is in landscape). This may be either a fraction or a dimension.-->
73
    <item type="dimen" name="dialog_fixed_height_minor">100%</item>
74

    
75
</resources>