Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d54e9888 authored by Matt Pietal's avatar Matt Pietal Committed by Android (Google) Code Review
Browse files

Merge "Better support portrait mode for foldables" into tm-qpr-dev

parents b8eacc88 e8a9a81b
Loading
Loading
Loading
Loading
+25 −0
Original line number Original line Diff line number Diff line
<?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>
+0 −2
Original line number Original line Diff line number Diff line
@@ -17,8 +17,6 @@
<resources>
<resources>
    <dimen name="notification_panel_margin_horizontal">48dp</dimen>
    <dimen name="notification_panel_margin_horizontal">48dp</dimen>
    <dimen name="status_view_margin_horizontal">62dp</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>
    <dimen name="bouncer_user_switcher_y_trans">20dp</dimen>


    <!-- qs_tiles_page_horizontal_margin should be margin / 2, otherwise full space between two
    <!-- qs_tiles_page_horizontal_margin should be margin / 2, otherwise full space between two
+24 −0
Original line number Original line Diff line number Diff line
<?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>
+0 −2
Original line number Original line Diff line number Diff line
@@ -21,8 +21,6 @@
     for different hardware and product builds. -->
     for different hardware and product builds. -->
<resources>
<resources>
    <dimen name="status_view_margin_horizontal">124dp</dimen>
    <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="bouncer_user_switcher_y_trans">200dp</dimen>


    <dimen name="large_screen_shade_header_left_padding">24dp</dimen>
    <dimen name="large_screen_shade_header_left_padding">24dp</dimen>