Merge pull request #63 from TadiT7/fix90
Fix everything about NoCutout overlay
This commit is contained in:
commit
9624f7053e
@ -20,7 +20,7 @@
|
|||||||
android:versionName="1.0">
|
android:versionName="1.0">
|
||||||
<overlay android:targetPackage="android"
|
<overlay android:targetPackage="android"
|
||||||
android:category="com.android.internal.display_cutout_emulation"
|
android:category="com.android.internal.display_cutout_emulation"
|
||||||
android:priority="42"/>
|
android:priority="0"/>
|
||||||
|
|
||||||
<application android:label="@string/display_cutout_emulation_overlay" android:hasCode="false"/>
|
<application android:label="@string/display_cutout_emulation_overlay" android:hasCode="false"/>
|
||||||
</manifest>
|
</manifest>
|
||||||
|
@ -16,7 +16,10 @@
|
|||||||
|
|
||||||
<resources>
|
<resources>
|
||||||
<!-- Can't link to other dimensions here, but this should be status_bar_height_landscape -->
|
<!-- Can't link to other dimensions here, but this should be status_bar_height_landscape -->
|
||||||
<dimen name="quick_qs_offset_height">28dp</dimen>
|
<dimen name="quick_qs_offset_height">24dp</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">152dp</dimen>
|
||||||
</resources>
|
<!-- Because we hardcode status_bar_height in Oreo device overlays,
|
||||||
|
we also need to do it here. -->
|
||||||
|
<dimen name="status_bar_height">24dp</dimen>
|
||||||
|
</resources>
|
||||||
|
@ -28,6 +28,11 @@
|
|||||||
<!-- Height of the status bar -->
|
<!-- Height of the status bar -->
|
||||||
<dimen name="status_bar_height_portrait">24dp</dimen>
|
<dimen name="status_bar_height_portrait">24dp</dimen>
|
||||||
<dimen name="status_bar_height_landscape">24dp</dimen>
|
<dimen name="status_bar_height_landscape">24dp</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>
|
||||||
|
<!-- 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>
|
<dimen name="rounded_corner_radius_top">@*android:dimen/rounded_corner_radius_bottom</dimen>
|
||||||
|
|
||||||
<!-- Height of area above QQS where battery/time go (equal to status bar height if > 48dp) -->
|
<!-- Height of area above QQS where battery/time go (equal to status bar height if > 48dp) -->
|
||||||
|
Loading…
Reference in New Issue
Block a user