【发布时间】:2020-10-08 03:31:29
【问题描述】:
当我在 Android 应用(通过 Kivy 构建)上长按 TextInput 时,气泡会出现一秒钟然后消失。
我正在研究 Kivy 的 TextInput 并了解它是如何工作的。我在 kivy 应用程序中添加了一个简单的 TextInput 并尝试从我的剪贴板粘贴一些内容。当我长按 TextInput 时,android 气泡只出现一秒钟(或者可能不到一秒钟)然后消失。
我在这个论坛上读到了关于use_bubble: True
我也将此添加到我的 .kv 文件中,但也不起作用。
请帮忙。
Label:
text:"Enter text to be encoded"
TextInput:
id:obox
use_bubble:True
foreground_color:(1,0,0,1)
multiline:True
on_touch_down: if self.collide_point(*args[1].pos): self.text = ""
【问题讨论】:
-
谁能帮我解决这个问题。
-
没有谁可以帮忙吗??