-
Notifications
You must be signed in to change notification settings - Fork 425
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Display cutout value shortEdges is actually potentially available on API 27, and display cutout value always is available on API 30. See also https://android-developers.googleblog.com/2018/07/supporting-display-cutouts-on-edge-to.html about the potential backport to API 27.
- Loading branch information
Showing
8 changed files
with
54 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
|
||
<!-- | ||
~ Copyright (c) 2019 Hai Zhang <dreaming.in.code.zh@gmail.com> | ||
~ All Rights Reserved. | ||
--> | ||
|
||
<resources> | ||
|
||
<style name="Platform.V30.Theme.MaterialFiles" parent="Platform.V29.Theme.MaterialFiles"> | ||
<item name="android:windowLayoutInDisplayCutoutMode">always</item> | ||
</style> | ||
<style name="Platform.Theme.MaterialFiles" parent="Platform.V30.Theme.MaterialFiles" /> | ||
|
||
<style name="Platform.V30.Theme.MaterialFiles.Immersive" parent="Platform.V29.Theme.MaterialFiles.Immersive"> | ||
<item name="android:windowLayoutInDisplayCutoutMode">always</item> | ||
</style> | ||
<style name="Platform.Theme.MaterialFiles.Immersive" parent="Platform.V30.Theme.MaterialFiles.Immersive" /> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
|
||
<!-- | ||
~ Copyright (c) 2023 Hai Zhang <dreaming.in.code.zh@gmail.com> | ||
~ All Rights Reserved. | ||
--> | ||
|
||
<resources> | ||
|
||
<style name="Platform.V30.Theme.MaterialFiles.Material3" parent="Platform.V29.Theme.MaterialFiles.Material3"> | ||
<item name="android:windowLayoutInDisplayCutoutMode">always</item> | ||
</style> | ||
<style name="Platform.Theme.MaterialFiles.Material3" parent="Platform.V30.Theme.MaterialFiles.Material3" /> | ||
|
||
<style name="Platform.V30.Theme.MaterialFiles.Material3.Immersive" parent="Platform.V29.Theme.MaterialFiles.Material3.Immersive"> | ||
<item name="android:windowLayoutInDisplayCutoutMode">always</item> | ||
</style> | ||
<style name="Platform.Theme.MaterialFiles.Material3.Immersive" parent="Platform.V30.Theme.MaterialFiles.Material3.Immersive" /> | ||
</resources> |