Skip to content Skip to sidebar Skip to footer

Issue Using Kivy Textinput's 'input_type' Property

Hi im having issues with using the input_type property of kivy's textinput widget. The thing is i made two custom text input one i called StrText where i set input_type = 'text'.

Solution 1:

Recently I faced similar issue when I built my App using Kivy1.10.0. I used the default keyboard app in android but still it was keep changing from Numeric Keypad to Text Keypad.

This time I tried kivy==1.9.1 with Cython==0.23.1 and buildozer==0.32 to build the .apk and it worked for me.

Note:

I suggest to create a virtualenv to install above specific packages and use it to create the .apk file.

virtualenv build32env
source build32env/bin/activate
pip install buildozer==0.32 Cython==0.23.1

After executing buildozer init make sure to change buildozer.spec file:

from

requirements = kivy

to

requirements = kivy==1.9.1

otherwise it will use the latest kivy version to build the .apk file.

More details about buildozer

Hope it helps others!

Post a Comment for "Issue Using Kivy Textinput's 'input_type' Property"