Update StatusBar height for portrait unfolded screeen
Currently, 3P apps could read the system resource of status bar height for portrait orientation on the unfolded screen. Updating this value to a correct one. Bug: 264656380 Change-Id: I859b7c756f1dab88373bf2116cf1638a5faae624 Test: manual
This commit is contained in:
parent
fae76d2817
commit
a976196f43
1 changed files with 25 additions and 0 deletions
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
** Copyright 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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Height of the status bar for the portrait orientation.
|
||||
Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead.
|
||||
-->
|
||||
<dimen name="status_bar_height_portrait">110px</dimen>
|
||||
</resources>
|
Loading…
Add table
Add a link
Reference in a new issue