【问题标题】:android:windowSoftInputMode="adjustNothing" equivalent in livecodeandroid:windowSoftInputMode="adjustNothing" 在 livecode 中等效
【发布时间】:2013-09-27 02:14:02
【问题描述】:

你知道在 livecode 中相当于 eclipse 代码android:windowSoftInputMode="adjustNothing" 吗?这可以防止在键盘出现时更改布局。

注意:我创建了一个网络应用程序(html5 打包为 android 和 ios 应用程序)

谢谢。

【问题讨论】:

  • 你试过了吗?当我这样做时,默认情况下没有任何变化。如果你想改变布局,你必须为此编写一个脚本。

标签: android ios livecode


【解决方案1】:

默认行为是不改变布局,所以你不需要编写脚本。

【讨论】:

  • 你完全错了。默认行为未指定。来自文档的引用:It is unspecified whether the activity's main window resizes to make room for the soft keyboard, or whether the contents of the window pan to make the current focus visible on-screen. [...] *This is the default* setting for the behavior of the main window.
  • 没有。这是使用 LiveCode 开发环境对 LiveCode 脚本语言的讨论,您提到的文档并非来自 Livecode。在 LiveCode IDE 中开发时,布局不会改变,除非您专门编写脚本。如果你把反对票去掉就好了,因为你错了。
  • 这是不可能的。 :((( 至少在编辑答案之前。SO 气泡说。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2012-06-02
  • 2016-05-14
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2015-03-31
  • 1970-01-01
相关资源
最近更新 更多