Xml文件  |  50行  |  2.21 KB

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

<!-- tablet -->
<resources>
    <!-- Account Setup Activities -->
    <!-- inset distance for setup/settings buttons -->
    <dimen name="setup_buttons_padding_left">16dip</dimen>
    <dimen name="setup_buttons_padding_right">16dip</dimen>
    <!-- distance of any button below the upper hairline -->
    <dimen name="setup_buttons_padding_top">64dip</dimen>
    <!-- distance of any button below the previous button (vertical stack) -->
    <dimen name="setup_buttons_vertical_spacing">48dip</dimen>
    <!-- distance of any button above the bottom of the screen -->
    <dimen name="setup_buttons_padding_bottom">48dip</dimen>

    <!-- Account settings fragments -->
    <dimen name="settings_fragment_padding_top">32dip</dimen>
    <dimen name="settings_fragment_padding_left">32dip</dimen>
    <dimen name="settings_fragment_padding_right">32dip</dimen>

    <!-- On tablets, we don't need additional padding in setup mode since the
         base settings fragments that are reused already have padding. -->
    <dimen name="setup_fragment_padding_top">0dip</dimen>
    <dimen name="setup_fragment_padding_left">0dip</dimen>
    <dimen name="setup_fragment_padding_right">0dip</dimen>

    <!-- In setup screens, the inset for all items below the headline+hairline -->
    <dimen name="setup_item_inset_left">16dip</dimen>
    <dimen name="setup_item_inset_right">64dip</dimen>

    <!-- Account Setup Activities -->
    <dimen name="setup_padding_top">16dip</dimen>
    <dimen name="setup_padding_left">64dip</dimen>
    <dimen name="setup_padding_right">64dip</dimen>
</resources>