summaryrefslogtreecommitdiff
path: root/overlay/frameworks/base/packages/overlays/pixel_7/AndroidOverlay/res/values/dimens.xml
blob: f038cd013553c0e20dce1fd3695f67aada3730ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?xml version="1.0" encoding="utf-8"?>
<!--
 * Copyright (c) 2023, 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>
    <!-- Radius of the software rounded corners. -->
    <dimen name="rounded_corner_radius">47px</dimen>
    <dimen name="rounded_corner_radius_top">47px</dimen>
    <dimen name="rounded_corner_radius_bottom">48px</dimen>

   <!-- for 20dp of padding at 3.5px/dp at default density -->
    <dimen name="rounded_corner_content_padding">47px</dimen>

    <!-- Height of the status bar.
         Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead.
         -->
    <dimen name="status_bar_height_default">28dp</dimen>
    <dimen name="status_bar_height_portrait">136px</dimen>
    <dimen name="status_bar_height_landscape">28dp</dimen>

    <!-- Adjustment for software rounded corners since corners aren't perfectly round. -->
    <dimen name="rounded_corner_radius_adjustment">5px</dimen>
</resources>