Merge "Better support portrait mode for foldables" into tm-qpr-dev
This commit is contained in:
25
packages/SystemUI/res/values-sw600dp-h900dp/dimens.xml
Normal file
25
packages/SystemUI/res/values-sw600dp-h900dp/dimens.xml
Normal file
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (C) 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.
|
||||
-->
|
||||
|
||||
<!-- Intended for wide devices that are currently oriented with a lot of available height,
|
||||
such as tablets. 'hxxxdp' is used instead of 'port' in order to avoid this being applied
|
||||
to wide devices that are shorter in height, like foldables. -->
|
||||
<resources>
|
||||
<!-- Space between status view and notification shelf -->
|
||||
<dimen name="keyguard_status_view_bottom_margin">35dp</dimen>
|
||||
<dimen name="keyguard_clock_top_margin">40dp</dimen>
|
||||
</resources>
|
||||
@@ -17,8 +17,6 @@
|
||||
<resources>
|
||||
<dimen name="notification_panel_margin_horizontal">48dp</dimen>
|
||||
<dimen name="status_view_margin_horizontal">62dp</dimen>
|
||||
<dimen name="keyguard_clock_top_margin">40dp</dimen>
|
||||
<dimen name="keyguard_status_view_bottom_margin">40dp</dimen>
|
||||
<dimen name="bouncer_user_switcher_y_trans">20dp</dimen>
|
||||
|
||||
<!-- qs_tiles_page_horizontal_margin should be margin / 2, otherwise full space between two
|
||||
|
||||
24
packages/SystemUI/res/values-sw720dp-h1000dp/dimens.xml
Normal file
24
packages/SystemUI/res/values-sw720dp-h1000dp/dimens.xml
Normal file
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (C) 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.
|
||||
-->
|
||||
<!-- Intended for wide devices that are currently oriented with a lot of available height,
|
||||
such as tablets. 'hxxxdp' is used instead of 'port' in order to avoid this being applied
|
||||
to wide devices that are shorter in height, like foldables. -->
|
||||
<resources>
|
||||
<!-- Space between status view and notification shelf -->
|
||||
<dimen name="keyguard_status_view_bottom_margin">70dp</dimen>
|
||||
<dimen name="keyguard_clock_top_margin">80dp</dimen>
|
||||
</resources>
|
||||
@@ -21,8 +21,6 @@
|
||||
for different hardware and product builds. -->
|
||||
<resources>
|
||||
<dimen name="status_view_margin_horizontal">124dp</dimen>
|
||||
<dimen name="keyguard_clock_top_margin">80dp</dimen>
|
||||
<dimen name="keyguard_status_view_bottom_margin">80dp</dimen>
|
||||
<dimen name="bouncer_user_switcher_y_trans">200dp</dimen>
|
||||
|
||||
<dimen name="large_screen_shade_header_left_padding">24dp</dimen>
|
||||
|
||||
Reference in New Issue
Block a user