De-hardcode status_bar_height

This commit is contained in:
Pierre-Hugues Husson 2019-08-22 11:31:55 +02:00 committed by Pierre-Hugues Husson
parent 72a4d56f8f
commit d38ee87117
3 changed files with 0 additions and 26 deletions

View file

@ -19,8 +19,6 @@
<resources>
<!-- Height of the status bar in portrait -->
<dimen name="status_bar_height_portrait">50px</dimen>
<!-- Height of the status bar -->
<dimen name="status_bar_height">50px</dimen>
<!-- Height of the status bar in landscape -->
<dimen name="status_bar_height_landscape">28.0dip</dimen>
</resources>

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,8 +19,6 @@
<resources>
<!-- Height of the status bar in portrait -->
<dimen name="status_bar_height_portrait">86.0px</dimen>
<!-- Height of the status bar -->
<dimen name="status_bar_height">86.0px</dimen>
<!-- Height of the status bar in landscape -->
<dimen name="status_bar_height_landscape">24dp</dimen>
<dimen name="rounded_corner_radius">86.0px</dimen>