Adds an option to allow add resources to Android res/ directory #2580
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related to kivy/buildozer#1428
Reference: https://developer.android.com/guide/topics/resources/providing-resources
PRs it can cover (at least partially) :
#2330
#2200
#1922
#2299
#2570
#2322
Maybe related issues:
#1964
#2298
#2614
Important notes:
Copy/overwrite process steps:
Current default res directories:
Currently in p4a, some of these directories are required by later code, but the directory is not created if it doesn't exist.
I'm not sure if they all need to stay or if it would be nice to include others by default (Although they are not needed by p4a at the moment).
add-res
argument) in res folder.❗Note: Later arguments that change files in the resource folder, such as
icon_fg
,icon_bg
, may override theadd-res
argument, if the user decides to put an icon in the "custom resource folder", and then pass another file to theicon_fg
argument, for example. Changes in this behavior may also need to be evaluated.Some things need tweaking, but overall, the templating process needs an update.