【发布时间】:2014-11-19 17:21:02
【问题描述】:
它给了我一个“无法调用未定义文件的方法createimageview”的错误
var imgpldt= Ti.Ui.createImageView({
image: "sponsors/Home DSL.png"
});
$.pldt.add(imgpldt);
这里是 xml:
<Alloy>
<ScrollView class="container vertical whitebg actionBarTop">
<View class="sponsorWrapper blackbg vertical">
<View class="sponsorLogo" id='pldt'/>
<View class="whitebg socialContainer">
<View class="socialWrapper horizontal whitebg">
<ImageView class="top10" id='pldtFB' image="/facebook.png"/>
</View>
</View>
</View>
</ScrollView>
</Alloy>
【问题讨论】:
标签: titanium titanium-alloy genymotion