kivy / buildozer

Generic Python packager for Android and iOS
https://buildozer.readthedocs.io
MIT License
1.75k stars 503 forks source link

Android: buildozer specify styles.xml #1853

Open alexg93333 opened 2 months ago

alexg93333 commented 2 months ago

I want to add my own style, for this I added the dependency in buildozer.spec:

android.gradle_dependencies = androidx.appcompat:appcompat:1.6.1

added:

android.apptheme = @style/SplashScreenTheme

but how to tell buildozer to use my styles.xml file where I specified the "SplashScreenTheme" ? Where can I specify the path to my own styles.xml? Or how else can I do it? I tried to alter styles.xml inside the .buildozer folder but keep getting:

error: resource style/SplashScreenTheme (ak com.test.test:style/SplashScreenTheme) not found.

FilMarini commented 3 weeks ago

@alexg93333 Maybe you can do it by adding xml in the source.include_exts list?