buildozer
buildozer copied to clipboard
[WIP] Adds an option to allow add resources to Android res/ directory
Depends on:
- kivy/python-for-android#2580
General explanations of feature need: #1397 Reference: https://developer.android.com/guide/topics/resources/providing-resources
Using specific solutions will not be enough in the long term, so this PR is intended to provide a more comprehensive option for managing android resources.
With the main intention of facilitating the use of the resource and its management, the user will only need to create a folder with the structure below, and pass its path to the android.add_res argument.
res/
drawable/
graphic.png
anim/
anim.xml
mipmap/
img.png
xml/
value.xml
I believe it's important to reset the dist res/ folder values to default directories and files before each copy/overwrite of user resource files, but I still haven't figured out how python-for-android do it.
PRs it can cover (at least partially) : #1119 #1230 #1417
Maybe related issue: #167
⚠️ There's a python-for-android related PR which is marked as WIP.
@DexerBR can you also mark this one as WIP until the python-for-android related PR is merged?
⚠️ There's a
python-for-androidrelated PR which is marked as WIP. @DexerBR can you also mark this one as WIP until thepython-for-androidrelated PR is merged?
Sure, done! 👍
Superseded by https://github.com/kivy/buildozer/pull/1513
Thank you!