Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个在 CodenameOne 平台上开发的应用程序,其中有用于手动输入的文本字段。每次在android上显示VKB时,屏幕的内容都会被推到底部,尤其是文本框变得很薄,看不到任何字符。我怎样才能防止这种情况?
在 android 上,当 VKB 启动时,Form 会收到一个 sizeChanged 事件,为了防止这种行为,您可以将 textfields 父容器声明为可滚动的 Y 容器 BoxLayout Y