Dehardcode status_bar_height in NoCutout overlay
This commit is contained in:
parent
554a4eca13
commit
17c3643d02
@ -19,7 +19,4 @@
|
|||||||
<dimen name="quick_qs_offset_height">28dp</dimen>
|
<dimen name="quick_qs_offset_height">28dp</dimen>
|
||||||
<!-- Total height of QQS in landscape; quick_qs_offset_height + 128 -->
|
<!-- Total height of QQS in landscape; quick_qs_offset_height + 128 -->
|
||||||
<dimen name="quick_qs_total_height">156dp</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">28dp</dimen>
|
|
||||||
</resources>
|
</resources>
|
||||||
|
@ -28,9 +28,6 @@
|
|||||||
<!-- Height of the status bar -->
|
<!-- Height of the status bar -->
|
||||||
<dimen name="status_bar_height_portrait">28dp</dimen>
|
<dimen name="status_bar_height_portrait">28dp</dimen>
|
||||||
<dimen name="status_bar_height_landscape">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
|
<!-- For rounded corners to work, set rounded_corner_radius_bottom or rounded_corner_radius
|
||||||
in device overlay. -->
|
in device overlay. -->
|
||||||
<dimen name="rounded_corner_radius_top">@*android:dimen/rounded_corner_radius_bottom</dimen>
|
<dimen name="rounded_corner_radius_top">@*android:dimen/rounded_corner_radius_bottom</dimen>
|
||||||
|
Loading…
Reference in New Issue
Block a user