-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: Android theme settings get overridden #5258
Comments
can you provide a sample app where the issue can be reproduced? |
Basically you can take any capacitor sample app and just add the lines from my first ticket:
And when you run it on Android with capacitor <= 3.1.1 everything works fine and you see that the system status und navigation bar are transparent. When updating to capacitor >= 3.1.2 the settings are ignored and the status und navigation bar are not transparent anymore. |
Please, can you create any sample app and introduce those changes and share the app? |
Ok, yes of course. |
Just noticed that you are adding the changes to In your example there is no capacitor/android-template/app/src/main/res/values/styles.xml Lines 12 to 16 in b893a57
|
You are correct, sorry for that. Didnt know why my file ended like this. Thank you! |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out. |
Bug Report
Capacitor Version
3.1.2
Platform(s)
Android
Current Behavior
Theme settings in the styles.xml get overriden. i.e.
are not working, maybe because they are 'resetted' anywhere programmatically? In capacitor 3.1.1 it works fine and after updating to 3.1.2 this settings are not working anymore. Maybe depending to #4841?
Expected Behavior
Custom theme settings in styles.xml should be working.
The text was updated successfully, but these errors were encountered: