Skip to content

Material Light theme with black status bar#176

Draft
dbnicholson wants to merge 2 commits into
developfrom
174-custom-theme
Draft

Material Light theme with black status bar#176
dbnicholson wants to merge 2 commits into
developfrom
174-custom-theme

Conversation

@dbnicholson
Copy link
Copy Markdown
Member

Try again with Material Light but use a custom derived theme that restores the status bar to black. This also uncovers the status bar on pure Android by using a non-Fullscreen theme. That has no effect on ChromeOS but is more reasonable on Android and makes it easier to validate the theme.

This depends on endlessm/python-for-android#19 being merged and released. Marking as a draft until that happens.

Fixes: #174

By default python-for-android appends `.Fullscreen` to the theme. On
ChromeOS this has no effect, but on Android it makes the app cover the
status bar. I don't believe Endless Key is so important that it needs
that and it introduces a difference with ChromeOS where the app always
runs windowed and the status bar color is used for the window
decoration. Add the p4a `--window` option so that it doesn't append
`.Fullscreen` to the theme.
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
@dbnicholson dbnicholson marked this pull request as draft August 14, 2023 20:22
@dbnicholson
Copy link
Copy Markdown
Member Author

retest this please

@dbnicholson dbnicholson marked this pull request as ready for review August 15, 2023 14:56
@dbnicholson dbnicholson requested a review from starnight August 15, 2023 14:56
@dbnicholson
Copy link
Copy Markdown
Member Author

The p4a PR mas merged and tagged as v2022.09.04-endless11, so this is ready for review now.

@dbnicholson
Copy link
Copy Markdown
Member Author

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'm going to move this back to a draft so it doesn't get merged right now.

@dbnicholson dbnicholson marked this pull request as draft August 15, 2023 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make webview-age dialog less ugly again

1 participant