erisu commented on PR #1852:
URL: https://github.com/apache/cordova-android/pull/1852#issuecomment-3430243019

   Can you explain what changes your making that leads to this break?
   
   Using the Cordova-Android's nightly build works as expected. 
   
   In the application theme, the SystemBar is set to transparent. This means 
the window's native systembar is no longer being used. It was replaced with the 
custom StatusBar View which is being set with: `statusBar.setBackgroundColor`.
   
   Here are screenshots of current nightly with the following `config.xml`
   
   ```xml
   <platform name="android">
       <preference name="AndroidEdgeToEdge" value="false" />
       <preference name="BackgroundColor" value="#8E44AD" />
       <preference name="StatusBarBackgroundColor" value="#FFFF00" />
   </platform>
   ```
   
   | SDK 24 | SDK 25 | SDK 27 | SDK 28 | SDK 30 | SDK 34 | SDK 35 | SDK 36 |
   | -- | -- | -- | -- | -- | -- | -- | -- |
   | <img width="1080" height="2400" alt="SDK24" 
src="https://github.com/user-attachments/assets/22509a83-8945-44b6-8e14-64cc042e4cd1";
 /> | <img width="1080" height="1920" alt="SDK25" 
src="https://github.com/user-attachments/assets/3b702244-43be-4972-a8f4-46f8378f2802";
 /> | <img width="1080" height="1920" alt="SDK27" 
src="https://github.com/user-attachments/assets/c1236613-5941-4a3c-9c52-911260db2efc";
 /> | <img width="1080" height="2160" alt="SDK28" 
src="https://github.com/user-attachments/assets/507ee93b-dd10-47fa-a4ac-5a3c74eae995";
 /> | <img width="1080" height="2340" alt="SDK30" 
src="https://github.com/user-attachments/assets/98ffbf45-5a03-4779-bd83-d4d254f5d030";
 /> | <img width="1440" height="3120" alt="SDK34" 
src="https://github.com/user-attachments/assets/7d23292c-417d-4bba-8dc0-fdfaf1987f0b";
 /> | <img width="1344" height="2992" alt="SDK35" 
src="https://github.com/user-attachments/assets/b773ab08-f91f-49f4-86f0-a78c45a6b67f";
 /> | <img width="1280" height="2856" alt="SDK36" src=
 
"https://github.com/user-attachments/assets/27165eb5-c9e4-4078-85d8-d99b9ad6dbe1";
 /> |
   
   Ignore the black navigational bar on SDK 24 and 25 as this is expected 
results for these older SDKs.
   
   ---
   
   If you are using custom themes, ensure that your status bar is transparent 
by setting the following:
   
   ```xml
   <item name="android:statusBarColor">@android:color/transparent</item>
   ```
   
   If you have the StatusBar plugin installed, I recommend removing it during 
testing. It may conflict with Cordova's core logic. The plugin has not yet been 
updated for the upcoming major release of Cordova-Android, and I believe all of 
its native Android code will be removed.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to