Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Customizable Android colors via JavaScript #139

Open
reichhartd opened this issue Mar 15, 2022 · 0 comments
Open

Customizable Android colors via JavaScript #139

reichhartd opened this issue Mar 15, 2022 · 0 comments
Labels
help wanted Extra attention is needed java Pull requests that update Java code
Milestone

Comments

@reichhartd
Copy link
Member

reichhartd commented Mar 15, 2022

At the moment, you can not customize the colors for Android via JavaScript.
For Android it is a bit more complicated than for iOS, because for Android the customizations are controlled via the colors.xml.
One way to solve this could be to override the getResources method of the MainActivity to exchange the respective color-keys. Unfortunately, I don't have that much experience with Android development to judge if this is so easily possible and best practice.

Help for this issue is gratefully accepted.

@reichhartd reichhartd added this to the v1 milestone Mar 15, 2022
@reichhartd reichhartd added help wanted Extra attention is needed java Pull requests that update Java code labels Mar 15, 2022
@reichhartd reichhartd pinned this issue Mar 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed java Pull requests that update Java code
Projects
None yet
Development

No branches or pull requests

1 participant