Dehardcode status_bar_height in NoCutout overlay

This commit is contained in:
Tadi 2019-02-05 00:46:07 +01:00
parent 554a4eca13
commit 17c3643d02
2 changed files with 0 additions and 6 deletions

View File

@ -19,7 +19,4 @@
<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">156dp</dimen>
<!-- Because we hardcode status_bar_height in Oreo device overlays,
we also need to do it here. -->
<dimen name="status_bar_height">28dp</dimen>
</resources>

View File

@ -28,9 +28,6 @@
<!-- Height of the status bar -->
<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">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>