Merge pull request #69 from TadiT7/intopr

Use 28dp statusbar in NoCutout overlay
This commit is contained in:
Pierre-Hugues HUSSON 2018-12-19 22:22:49 +01:00 committed by GitHub
commit 09698c064e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -16,10 +16,10 @@
<resources>
<!-- Can't link to other dimensions here, but this should be status_bar_height_landscape -->
<dimen name="quick_qs_offset_height">24dp</dimen>
<dimen name="quick_qs_offset_height">28dp</dimen>
<!-- Total height of QQS in landscape; quick_qs_offset_height + 128 -->
<dimen name="quick_qs_total_height">152dp</dimen>
<dimen name="quick_qs_total_height">156dp</dimen>
<!-- Because we hardcode status_bar_height in Oreo device overlays,
we also need to do it here. -->
<dimen name="status_bar_height">24dp</dimen>
<dimen name="status_bar_height">28dp</dimen>
</resources>

View File

@ -26,11 +26,11 @@
<bool name="config_maskMainBuiltInDisplayCutout">true</bool>
<!-- Height of the status bar -->
<dimen name="status_bar_height_portrait">24dp</dimen>
<dimen name="status_bar_height_landscape">24dp</dimen>
<dimen name="status_bar_height_portrait">28dp</dimen>
<dimen name="status_bar_height_landscape">28dp</dimen>
<!-- Because we hardcode status_bar_height in Oreo device overlays,
we also need to do it here. -->
<dimen name="status_bar_height">24dp</dimen>
<dimen name="status_bar_height">28dp</dimen>
<!-- For rounded corners to work, set rounded_corner_radius_bottom or rounded_corner_radius
in device overlay. -->
<dimen name="rounded_corner_radius_top">@*android:dimen/rounded_corner_radius_bottom</dimen>