File tree Expand file tree Collapse file tree 2 files changed +22
-3
lines changed
Expand file tree Collapse file tree 2 files changed +22
-3
lines changed Original file line number Diff line number Diff line change 1+ <resources >
2+ <!-- Base application theme for API 29+ (Android 10) with enhanced edge-to-edge support -->
3+ <style name =" AppTheme" parent =" Theme.AppCompat.Light.DarkActionBar" >
4+ <!-- Customize your theme here. -->
5+ <item name =" colorPrimary" >@color/colorPrimary</item >
6+ <item name =" colorPrimaryDark" >@color/colorPrimaryDark</item >
7+ <item name =" colorAccent" >@color/colorAccent</item >
8+
9+ <!-- Enable edge-to-edge display -->
10+ <item name =" android:windowLayoutInDisplayCutoutMode" >shortEdges</item >
11+ <item name =" android:statusBarColor" >@android:color/transparent</item >
12+ <item name =" android:navigationBarColor" >@android:color/transparent</item >
13+ <item name =" android:windowLightStatusBar" >true</item >
14+ <item name =" android:windowLightNavigationBar" >true</item >
15+ <item name =" android:enforceStatusBarContrast" >false</item >
16+ <item name =" android:enforceNavigationBarContrast" >false</item >
17+ </style >
18+
19+ </resources >
Original file line number Diff line number Diff line change 1- <resources >
1+ <resources xmlns : tools = " http://schemas.android.com/tools " >
22 <!-- Base application theme. -->
33 <style name =" AppTheme" parent =" Theme.AppCompat.Light.DarkActionBar" >
44 <!-- Customize your theme here. -->
55 <item name =" colorPrimary" >@color/colorPrimary</item >
66 <item name =" colorPrimaryDark" >@color/colorPrimaryDark</item >
77 <item name =" colorAccent" >@color/colorAccent</item >
88
9- <!-- Enable edge-to-edge display -->
10- <item name =" android:windowLayoutInDisplayCutoutMode" >shortEdges</item >
9+ <!-- Enable edge-to-edge display for supported devices -->
10+ <item name =" android:windowLayoutInDisplayCutoutMode" tools : targetApi = " p " >shortEdges</item >
1111 </style >
1212
1313</resources >
You can’t perform that action at this time.
0 commit comments