| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| /* |
| ** Copyright 2022, 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">118px</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> |