Remove direct status_bar_height

This commit is contained in:
Pierre-Hugues Husson 2021-01-06 00:00:29 +01:00
parent e51ad50594
commit 266664de94
2 changed files with 1 additions and 25 deletions

View file

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2017, 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>
<!-- Height of the status bar -->
<dimen name="status_bar_height">24dp</dimen>
</resources>

View file

@ -19,11 +19,9 @@
<resources>
<!-- Height of the status bar in portrait -->
<dimen name="status_bar_height_portrait">62px</dimen>
<!-- Height of the status bar -->
<dimen name="status_bar_height">62px</dimen>
<!-- Height of the status bar in landscape -->
<dimen name="status_bar_height_landscape">24dp</dimen>
<string translatable="false" name="config_mainBuiltInDisplayCutout">M -190,0 L -190,62 L 190,62 L 190,0 Z</string>
<!-- Radius of the software rounded corners. -->
<dimen name="rounded_corner_radius">54px</dimen>
</resources>
</resources>