122 lines
5.5 KiB
XML
122 lines
5.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
/* //device/apps/common/assets/res/any/dimens.xml
|
|
**
|
|
** Copyright 2006, 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 width that is used when creating thumbnails of applications. -->
|
|
<dimen name="thumbnail_width">360dp</dimen>
|
|
<!-- The height that is used when creating thumbnails of applications. -->
|
|
<dimen name="thumbnail_height">360dp</dimen>
|
|
<!-- Default height of an action bar. -->
|
|
<dimen name="action_bar_default_height">56dip</dimen>
|
|
<!-- Vertical padding around action bar icons. -->
|
|
<dimen name="action_bar_icon_vertical_padding">4dip</dimen>
|
|
<!-- Text size for action bar titles -->
|
|
<dimen name="action_bar_title_text_size">18dp</dimen>
|
|
<!-- Text size for action bar subtitles -->
|
|
<dimen name="action_bar_subtitle_text_size">14dp</dimen>
|
|
<!-- Top margin for action bar subtitles -->
|
|
<dimen name="action_bar_subtitle_top_margin">-3dp</dimen>
|
|
<!-- Bottom margin for action bar subtitles -->
|
|
<dimen name="action_bar_subtitle_bottom_margin">9dip</dimen>
|
|
|
|
<!-- Size of clock font in LockScreen. -->
|
|
<dimen name="keyguard_pattern_unlock_clock_font_size">112sp</dimen>
|
|
|
|
<!-- Size of lockscreen outerring on unsecure unlock LockScreen -->
|
|
<dimen name="keyguard_lockscreen_outerring_diameter">364dp</dimen>
|
|
|
|
<!-- Copied from SysUI's @dimen/navigation_key_width for the embedded nav bar in the IME -->
|
|
<dimen name="input_method_navigation_key_width">128dp</dimen>
|
|
<!-- Copied from SysUI's @dimen/navigation_key_padding for the embedded nav bar in the IME -->
|
|
<dimen name="input_method_navigation_key_padding">25dp</dimen>
|
|
|
|
<!-- Height of FaceUnlock view in keyguard -->
|
|
<dimen name="face_unlock_height">430dip</dimen>
|
|
|
|
<!-- target placement radius for GlowPadView. Should be 1/2 of outerring diameter. -->
|
|
<dimen name="glowpadview_target_placement_radius">182dip</dimen>
|
|
|
|
<!-- Size of status line font in LockScreen. -->
|
|
<dimen name="keyguard_pattern_unlock_status_line_font_size">14sp</dimen>
|
|
|
|
<!-- Minimum width for an action button in the menu area of an action bar -->
|
|
<dimen name="action_button_min_width">64dip</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">60%</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">90%</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">60%</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">90%</item>
|
|
|
|
<!-- Height of the bottom navigation bar in portrait; on sw600dp devices
|
|
this is a bit taller -->
|
|
<dimen name="navigation_bar_height_portrait">56dp</dimen>
|
|
|
|
<!-- Preference fragment padding, sides -->
|
|
<dimen name="preference_fragment_padding_side">24dp</dimen>
|
|
<dimen name="preference_screen_header_padding_side">24dip</dimen>
|
|
|
|
<!-- Keyguard dimensions -->
|
|
<!-- Size of the clock font in keyguard's status view -->
|
|
<dimen name="kg_status_clock_font_size">141dp</dimen>
|
|
|
|
<!-- Size of the date font in keyguard's status view -->
|
|
<dimen name="kg_status_date_font_size">25.5dp</dimen>
|
|
|
|
<!-- Size of the generic status lines keyguard's status view -->
|
|
<dimen name="kg_status_line_font_size">16sp</dimen>
|
|
|
|
<!-- Top margin for the clock view -->
|
|
<dimen name="kg_clock_top_margin">0dp</dimen>
|
|
|
|
<!-- Size of margin on the right of keyguard's status view -->
|
|
<dimen name="kg_status_line_font_right_margin">50dp</dimen>
|
|
|
|
<!-- Horizontal padding for the widget pager -->
|
|
<dimen name="kg_widget_pager_horizontal_padding">24dp</dimen>
|
|
|
|
<!-- Top padding for the widget pager -->
|
|
<dimen name="kg_widget_pager_top_padding">0dp</dimen>
|
|
|
|
<!-- Bottom padding for the widget pager -->
|
|
<dimen name="kg_widget_pager_bottom_padding">0dp</dimen>
|
|
|
|
<!-- Top margin for the runway lights. We add a negative margin in large
|
|
devices to account for the widget pager padding -->
|
|
<dimen name="kg_runway_lights_top_margin">-10dp</dimen>
|
|
|
|
<!-- Margin around the various security views -->
|
|
<dimen name="keyguard_muliuser_selector_margin">12dp</dimen>
|
|
|
|
<!-- width of ImmersiveModeConfirmation (-1 for match_parent) -->
|
|
<dimen name="immersive_mode_cling_width">380dp</dimen>
|
|
|
|
<dimen name="floating_toolbar_preferred_width">544dp</dimen>
|
|
|
|
<dimen name="chooser_width">624dp</dimen>
|
|
|
|
</resources>
|