-
Notifications
You must be signed in to change notification settings - Fork 0
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
Make webview-age dialog less ugly again #174
Comments
You can also specify the theme for the dialog, but that would only be for the one dialog we load. I don't know what would happen for dialogs spawned by other means. |
I'm going to see about defining a custom theme derived from Material with a black status bar. We'll see if p4a makes that possible, though. I'm worried that calling |
Not suprisingly, p4a has no support for custom resource values, so a custom theme will require adding support there. |
This restores the attempt to use Material Light except that it overrides the status bar to black as the previous theme did. A custom theme using a resource value file is needed for that. This depends on the new `--res-values` option in python-for-android v2022.09.04-endless11. Fixes: #174
Ready in endlessm/python-for-android#19 and #176. The p4a side needs to be merged and released first. |
I tagged the p4a changes so they could be used. We discussed in the team meeting today that it would be preferable not to touch the appearance anymore right now before we take a break from this work. I moved the theme change back to a draft so it doesn't get merged right now. |
In #173 we reverted a theme change that had been made to make the "your webview is too old" dialog not ugly. This is because the theme change brought with it a titlebar colour change.
To have the best of both world, we can define a theme that derives from the Material theme and only overrides the statusbar/titlebar colour. For extra credit, we could also explore using the setStatusBarColor API to adjust the titlebar colour to fit the content within.
The text was updated successfully, but these errors were encountered: