【问题标题】:Titanium Studio Alloy visual error in scrollview and view滚动视图和视图中的 Titanium Studio Alloy 视觉错误
【发布时间】:2013-01-16 14:49:43
【问题描述】:

我是 Titanium studio Alloy 的新手,我有两个问题,

1,我在 xml 文件的窗口中创建了 2 个视图标签。虽然我正在执行仅在两个视图中可见的最后一个视图,但我的代码是

<Window class="container>
<View class="View1">
  #content of view1
</View>
<View class="View2">
  #content of view2
</View>
</Window>

在这段代码中,只有最后一个视图(view2)是可见的,我想同时看到两个视图。

2.在我的 ScrollView 标记中,我有一些内容可见。但是滚动视图的内容在屏幕上随处可见。

我想在屏幕上修复。

谁能帮帮我 提前谢谢...

【问题讨论】:

    标签: iphone titanium titanium-mobile appcelerator-mobile titanium-modules


    【解决方案1】:

    您需要在窗口上设置布局属性,它们被绘制在彼此之上

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多