Files
UdacityProject6/app/src/main/res/values/dimens.xml

47 lines
2.0 KiB
XML

<!--
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>
<!-- Default screen margins, per the Android Design guidelines. -->
<dimen name="activity_horizontal_margin">16dp</dimen>
<dimen name="activity_vertical_margin">16dp</dimen>
<dimen name="notification_large_icon_default">48dp</dimen>
<dimen name="forecast_detail_horizontal_padding">32dp</dimen>
<!-- Icon Sizes -->
<dimen name="today_icon">96dp</dimen>
<dimen name="list_icon">40dp</dimen>
<!-- Text Sizes - We are using DP here rather than SP because these are already large
font sizes, and going larger will cause lots of view problems. This is only for
the large forecast numbers in the forecast list -->
<dimen name="forecast_text_size">32dp</dimen>
<!-- This is an odd width, but we're trying to match the font closely to keep things working
on devices that don't yet have Roboto -->
<dimen name="forecast_text_width">49dp</dimen>
<dimen name="forecast_temperature_space">8dp</dimen>
<!-- Extra Padding -->
<dimen name="detail_view_extra_padding">@dimen/abc_list_item_padding_horizontal_material</dimen>
<!-- Needed if we aren't including the Material Design Library -->
<dimen name="appbar_elevation">4dp</dimen>
<!-- The amount we want the details view to overlap the app bar -->
<dimen name="details_app_bar_overlap">24dp</dimen>
</resources>