久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

      1. <legend id='ermxt'><style id='ermxt'><dir id='ermxt'><q id='ermxt'></q></dir></style></legend>
        • <bdo id='ermxt'></bdo><ul id='ermxt'></ul>

      2. <i id='ermxt'><tr id='ermxt'><dt id='ermxt'><q id='ermxt'><span id='ermxt'><b id='ermxt'><form id='ermxt'><ins id='ermxt'></ins><ul id='ermxt'></ul><sub id='ermxt'></sub></form><legend id='ermxt'></legend><bdo id='ermxt'><pre id='ermxt'><center id='ermxt'></center></pre></bdo></b><th id='ermxt'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='ermxt'><tfoot id='ermxt'></tfoot><dl id='ermxt'><fieldset id='ermxt'></fieldset></dl></div>
        <tfoot id='ermxt'></tfoot>

        <small id='ermxt'></small><noframes id='ermxt'>

        使用 kivy textinput 的 'input_type' 屬性的問題

        Issue using kivy textinput#39;s #39;input_type#39; property(使用 kivy textinput 的 input_type 屬性的問題)
          <tbody id='JWeRF'></tbody>

      3. <i id='JWeRF'><tr id='JWeRF'><dt id='JWeRF'><q id='JWeRF'><span id='JWeRF'><b id='JWeRF'><form id='JWeRF'><ins id='JWeRF'></ins><ul id='JWeRF'></ul><sub id='JWeRF'></sub></form><legend id='JWeRF'></legend><bdo id='JWeRF'><pre id='JWeRF'><center id='JWeRF'></center></pre></bdo></b><th id='JWeRF'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='JWeRF'><tfoot id='JWeRF'></tfoot><dl id='JWeRF'><fieldset id='JWeRF'></fieldset></dl></div>

          1. <legend id='JWeRF'><style id='JWeRF'><dir id='JWeRF'><q id='JWeRF'></q></dir></style></legend>

              <small id='JWeRF'></small><noframes id='JWeRF'>

                <bdo id='JWeRF'></bdo><ul id='JWeRF'></ul>
                  <tfoot id='JWeRF'></tfoot>
                • 本文介紹了使用 kivy textinput 的 'input_type' 屬性的問題的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  您好,我在使用 kivy 的 textinput 小部件的 input_type 屬性時遇到問題.問題是我做了兩個自定義文本輸入,一個稱為 StrText,我在其中設(shè)置 input_type = 'text'.然后是第二個名為 NumText 的文本輸入,input_type = 'number'.我使用 kivy 啟動器在我的手機上對此進行了測試,并注意到一旦我點擊 NumText 輸入,它會帶來一個數(shù)字鍵盤,如果我點擊 StrText,它會帶來相同的數(shù)字鍵盤而不是普通的文本鍵盤.如果你稍微玩一下,你會發(fā)現(xiàn)大部分時間都會返回數(shù)字鍵盤.請問我的代碼有問題嗎,或者我該如何解決?你會在下面找到我的代碼

                  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'. Then a second text input named NumText with input_type = 'number'. I tested this on my phone using kivy launcher, and noticed that once i tap on the NumText input and it brings a number keyboard, if i tap on the StrText, it brings the same number keyboard instead of a normal text keyboard. If you play with it a little you'll notice mostly number key board is returned most of the time. Please is there something wrong with my code, or how can i fix this? You'll find my code below

                  main.py

                  from kivy.app import App
                  from kivy.uix.bubble import Bubble
                  from kivy.core.window import Window
                  
                  class  BubbleApp(App):
                      pass
                  
                  if __name__ == '__main__':
                      Window.fullscreen = False
                      BubbleApp().run()
                  

                  bubble.kv

                  GridLayout:
                      cols: 1
                      StrText:
                          height: '48dp'
                          size_hint_y: None
                  
                      Label:
                          text: 'Number keyboard below'
                          height: '48dp'
                          size_hint_y: None
                          multiline: False
                          font_size: self.height * .5
                  
                      NumText:
                          height: '48dp'
                          size_hint_y: None
                  
                  
                  <StrText@TextInput>:
                      input_type: 'text'
                      multiline: False
                      font_size: self.height * .5
                  
                  <NumText@TextInput>:
                      input_type: 'number'
                      input_filter: 'int'
                      multiline: False
                      font_size: self.height *.5
                  

                  推薦答案

                  最近我在使用 Kivy1.10.0 構(gòu)建我的應(yīng)用程序時遇到了類似的問題.我在 android 中使用了默認的鍵盤應(yīng)用程序,但它仍然不斷地從 Numeric Keypad 更改為 Text Keypad.

                  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.

                  這次我嘗試使用 kivy==1.9.1 和 Cython==0.23.1 和 buildozer==0.32 來構(gòu)建 .apk,它對我有用.

                  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.

                  注意:

                  我建議創(chuàng)建一個 virtualenv 來安裝上面的特定包并使用它來創(chuàng)建 .apk 文件.

                  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
                  

                  執(zhí)行 buildozer init 后,確保更改 buildozer.spec 文件:

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

                  來自

                  requirements = kivy
                  

                  requirements = kivy==1.9.1
                  

                  否則它將使用最新的 kivy 版本來構(gòu)建 .apk 文件.

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

                  更多關(guān)于 buildozer 的細節(jié)

                  希望對他人有所幫助!

                  這篇關(guān)于使用 kivy textinput 的 'input_type' 屬性的問題的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

                  相關(guān)文檔推薦

                  How to make a discord bot that gives roles in Python?(如何制作一個在 Python 中提供角色的不和諧機器人?)
                  Discord bot isn#39;t responding to commands(Discord 機器人沒有響應(yīng)命令)
                  Can you Get the quot;About mequot; feature on Discord bot#39;s? (Discord.py)(你能得到“關(guān)于我嗎?Discord 機器人的功能?(不和諧.py))
                  message.channel.id Discord PY(message.channel.id Discord PY)
                  How do I host my discord.py bot on heroku?(如何在 heroku 上托管我的 discord.py 機器人?)
                  discord.py - Automaticaly Change an Role Color(discord.py - 自動更改角色顏色)
                    <tbody id='lOFhX'></tbody>
                • <small id='lOFhX'></small><noframes id='lOFhX'>

                    • <bdo id='lOFhX'></bdo><ul id='lOFhX'></ul>
                        <tfoot id='lOFhX'></tfoot>

                          <legend id='lOFhX'><style id='lOFhX'><dir id='lOFhX'><q id='lOFhX'></q></dir></style></legend>

                            <i id='lOFhX'><tr id='lOFhX'><dt id='lOFhX'><q id='lOFhX'><span id='lOFhX'><b id='lOFhX'><form id='lOFhX'><ins id='lOFhX'></ins><ul id='lOFhX'></ul><sub id='lOFhX'></sub></form><legend id='lOFhX'></legend><bdo id='lOFhX'><pre id='lOFhX'><center id='lOFhX'></center></pre></bdo></b><th id='lOFhX'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='lOFhX'><tfoot id='lOFhX'></tfoot><dl id='lOFhX'><fieldset id='lOFhX'></fieldset></dl></div>
                            主站蜘蛛池模板: 在线免费国产视频 | 亚洲午夜电影 | 国产精品成人一区二区三区夜夜夜 | 蜜月aⅴ免费一区二区三区 99re在线视频 | 一二三四在线视频观看社区 | av天天干 | 秋霞国产 | 国产精品久久久久影院色老大 | 欧美一区二区三区在线看 | 亚洲人成人一区二区在线观看 | 国产成人精品免费视频大全最热 | 国产三级一区二区三区 | 日日干夜夜操天天操 | 日韩精品视频在线观看一区二区三区 | 欧美一级片a | 亚洲国产成人av | 羞羞视频在线网站观看 | 久久精品久久久 | 国产aaaaav久久久一区二区 | 久久精品国产亚洲 | 久久国产精品一区二区三区 | 亚洲永久字幕 | 国产99久久精品一区二区永久免费 | 国产黄色精品 | 亚洲精品成人av久久 | chinese中国真实乱对白 | 国产91丝袜在线播放 | 日韩精品一区二区三区中文在线 | 九九久久精品视频 | 精品亚洲一区二区三区 | 中文字幕亚洲欧美 | 亚洲a人 | 日产久久 | 欧美日韩专区 | 日韩手机视频 | 国产精品久久久久aaaa九色 | 午夜视频一区 | 午夜精品一区二区三区三上悠亚 | 91电影院| 红桃视频一区二区三区免费 | 国产在线精品一区 |