-
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for SDK 35 aka Android 15.
-- Due to my limited knowledge about Views or XML layouts, I'm not able to fix the overlapping content with status bar in Android 15. Rather I have, opted out from the enforcement. For now it is fine but Google will soon make it deprecated, so we need to adapt the layout for Android 15 before it deprecate. It is because Android 15 by-default enables edge to edge view.
- Loading branch information
1 parent
efc4bea
commit c10b931
Showing
3 changed files
with
26 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
|
||
<!-- For Material You Theme --> | ||
<style name="MyApp.Default.MaterialYou" parent="Frames.Default.MaterialYou"> | ||
<item name="android:windowOptOutEdgeToEdgeEnforcement">true</item> | ||
</style> | ||
|
||
<!-- For Non-Material You Amoled Theme --> | ||
<style name="MyApp.Default.Amoled" parent="Frames.Default.Amoled"> | ||
<item name="android:windowOptOutEdgeToEdgeEnforcement">true</item> | ||
</style> | ||
|
||
<!-- For Material You Amoled Theme --> | ||
<style name="MyApp.Default.Amoled.MaterialYou" parent="Frames.Default.Amoled.MaterialYou"> | ||
<item name="android:windowOptOutEdgeToEdgeEnforcement">true</item> | ||
</style> | ||
|
||
<!-- For Non-Material You Theme --> | ||
<style name="MyApp.Default" parent="Frames.Default"> | ||
<item name="android:windowOptOutEdgeToEdgeEnforcement">true</item> | ||
</style> | ||
</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