Mercurial > libervia-desktop-kivy
view .p4a @ 353:19422bbd9c8e
core (widgets handler): refactoring:
- CagouWidget now has class properties (to be overridden when needed) which indicate how
if the widget handle must add a wrapping ScreenManager (global_screen_manager) or show
all instances of the class in a Carousel (collection_carousel). If none of those
options is used, a ScrollView will be wrapping the widget, to be sure that the widget
will be resized correctly when necessary (without it, the widget could still be
drawn in the backround when the size is too small and overflow on the WidgetWrapper,
this would be the case with WidgetSelector)
- some helper methods/properties have been added to CagouWidget. Check docstrings for
details
- better handling of (in)visible widget in WidgetsHandler
- thanks to the new wrapping ScrollView, WidgetSelect will show scroll bars if the
available space is too small.
- bugs fixes
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 17 Jan 2020 18:44:35 +0100 |
parents | 89b17a841c2f |
children | a1f3af7c0b67 |
line wrap: on
line source
--sdk-dir /home/goffi/dev/android/sdk_26.1.1 --ndk-dir /home/goffi/dev/android/android-ndk-r19b --android-api 28 --dist-name cagou_dev_build --debug --bootstrap=sdl2 --requirements "hostpython3, kivy, kivy_garden.modernmenu, kivy_garden.contextmenu>=0.1.0.dev1, sqlite3, omemo, omemo-backend-signal, service_identity, automat, attrs, twisted, wokkel, hg+https://repos.goffi.org/sat, hg+https://repos.goffi.org/sat_tmp, pillow, pyxdg, markdown, html2text, python-dateutil, pycrypto, git+https://github.com/kivy/plyer.git, android, python-potr, shortuuid, babel, lxml, pudb, urwid, cryptography, openssl, pyopenssl, pyasn1, pyasn1-modules" --private . --package=org.salutatoi.cagou --name "Cagou" --version 0.1 --whitelist .p4a_whitelist --blacklist .p4a_blacklist --icon media/icons/muchoslava/png/cagou_profil_bleu_96.png --presplash media/icons/muchoslava/png/cagou_profil_bleu_512.png --orientation fullUser --window --arch armeabi-v7a --service backend:service/main.py --permission INTERNET --permission ACCESS_NETWORK_STATE --permission VIBRATE --permission RECORD_AUDIO --permission READ_EXTERNAL_STORAGE --permission WRITE_EXTERNAL_STORAGE --intent-filters /home/goffi/dev/cagou/android_intents/share.xml --ignore-setup-py