Xml文件  |  49行  |  1.73 KB

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

    <!-- Main text -->
    <dimen name="main_text_padding_left_right">16dp</dimen>
    <dimen name="main_text_padding_bottom">24dp</dimen>
    <dimen name="main_text_padding_top">0dp</dimen>
    <dimen name="main_text_padding_between_text">8dp</dimen>
    <dimen name="main_text_margins_left_right">0dp</dimen>
    <dimen name="main_text_size">16sp</dimen>

    <!-- Dialog Fragment text -->
    <dimen name="dialog_text_padding_left_right">16dp</dimen>
    <dimen name="dialog_text_padding_bottom">24dp</dimen>
    <dimen name="dialog_text_padding_top">24dp</dimen>

    <!-- Buttons -->
    <dimen name="button_width">100dp</dimen>

    <!-- Edit Texts -->
    <dimen name="edit_text_height">48dp</dimen>
    <dimen name="edit_text_margin_top">8dp</dimen>

    <!-- Title -->
    <dimen name="title_height">72dp</dimen>
    <dimen name="title_text_size">24sp</dimen>
    <dimen name="title_padding">@dimen/main_text_padding_left_right</dimen>

    <dimen name="row_height">72dp</dimen>
    <dimen name="row_padding_top">8dp</dimen>
    <dimen name="icon_width_height">56dp</dimen>
</resources>