Skip to content

Equivalent approach for drawable and color xml? #108

Answered by B3nedikt
mochadwi asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, you would

  • need to overwrite the correct methods in RestringResources.
  • then define new repositories for it e.g. ColorsRepository, DrawablesRepository.
  • Extend the Restring facade object with new methods for changing colors & drawables
  • And maybe extend the reword library, if you need to change these resources without restarting the activity

Quite a bit of work, which I don't have time for now ;)
But feel free to implement it, I take PRs :)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by B3nedikt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants