Xml文件  |  98行  |  3.94 KB

<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (C) 2015 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 y translation to apply at the start in appear animations. -->
    <dimen name="appear_y_translation_start">32dp</dimen>

    <!-- The translation for disappearing security views after having solved them. -->
    <dimen name="disappear_y_translation">-32dp</dimen>

    <dimen name="circle_avatar_size">40dp</dimen>

    <!-- Height of a user icon view -->
    <dimen name="user_icon_view_height">56dp</dimen>
    <!-- User spinner -->
    <dimen name="user_spinner_height">72dp</dimen>
    <dimen name="user_spinner_padding">4dp</dimen>
    <dimen name="user_spinner_padding_sides">20dp</dimen>
    <dimen name="user_spinner_item_height">56dp</dimen>

    <dimen name="two_target_pref_small_icon_size">24dp</dimen>
    <dimen name="two_target_pref_medium_icon_size">32dp</dimen>

    <!-- Lock icon for preferences locked by admin -->
    <dimen name="restricted_icon_size">16dp</dimen>
    <dimen name="restricted_icon_padding">4dp</dimen>

    <dimen name="wifi_preference_badge_padding">8dip</dimen>

    <!-- Usage graph dimens -->
    <dimen name="usage_graph_area_height">122dp</dimen>
    <dimen name="usage_graph_margin_top_bottom">9dp</dimen>
    <dimen name="usage_graph_labels_width">56dp</dimen>
    <dimen name="usage_graph_labels_padding">16dp</dimen>

    <dimen name="usage_graph_divider_size">1dp</dimen>

    <dimen name="usage_graph_line_width">3dp</dimen>
    <dimen name="usage_graph_line_corner_radius">6dp</dimen>

    <dimen name="usage_graph_dot_size">.75dp</dimen>
    <dimen name="usage_graph_dot_interval">7dp</dimen>

    <dimen name="battery_height">14.5dp</dimen>
    <dimen name="battery_width">9.5dp</dimen>
    <dimen name="battery_powersave_outline_thickness">1dp</dimen>

    <dimen name="bt_battery_padding">2dp</dimen>

    <!-- Margin on the right side of the system icon group on Keyguard. -->
    <fraction name="battery_button_height_fraction">10.5%</fraction>

    <!-- Ratio between height of button part and height of total -->
    <fraction name="bt_battery_button_height_fraction">7.8%</fraction>

    <!-- Ratio between width and height -->
    <fraction name="bt_battery_ratio_fraction">35%</fraction>

    <!-- Ratio of height between battery icon and bluetooth icon -->
    <fraction name="bt_battery_scale_fraction">75%</fraction>

    <!-- Fraction value to smooth the edges of the battery icon. The path will be inset by this
         fraction of a pixel.-->
    <fraction name="battery_subpixel_smoothing_left">0%</fraction>
    <fraction name="battery_subpixel_smoothing_right">0%</fraction>

    <!-- Zen mode panel: condition item button padding -->
    <dimen name="zen_mode_condition_detail_button_padding">8dp</dimen>
    <!-- Zen mode panel: spacing between condition items -->
    <dimen name="zen_mode_condition_detail_item_spacing">12dp</dimen>
    <!-- Zen mode panel: spacing between two-line condition upper and lower lines -->
    <dimen name="zen_mode_condition_detail_item_interline_spacing">4dp</dimen>
    <!-- Zen mode panel: bottom padding, a bit less than qs_panel_padding -->
    <dimen name="zen_mode_condition_detail_bottom_padding">4dp</dimen>

    <!-- SignalDrawable -->
    <dimen name="signal_icon_size">15dp</dimen>
    <!-- How far to inset the rounded edges -->
    <dimen name="stat_sys_mobile_signal_circle_inset">0.9dp</dimen>



</resources>