buildozer icon indicating copy to clipboard operation
buildozer copied to clipboard

[WIP] Adds an option to allow add resources to Android res/ directory

Open DexerBR opened this issue 3 years ago • 2 comments

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

DexerBR avatar Apr 18 '22 01:04 DexerBR

⚠️ 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?

misl6 avatar May 01 '22 12:05 misl6

⚠️ 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?

Sure, done! 👍

DexerBR avatar May 01 '22 13:05 DexerBR

Superseded by https://github.com/kivy/buildozer/pull/1513

Thank you!

misl6 avatar Nov 05 '22 09:11 misl6