我们可以制作一个钛的android android tableview水平滚动。 我想这Titanium android水平滚动tableview
var scrollAlbums = Ti.UI.createScrollView({
bottom : 10,
backgroundColor:'green',
contentHeight : Ti.UI.SIZE, // add this
contentWidth : Ti.UI.SIZE, // change this
height : 95,
layout : 'horizontal',
showHorizontalScrollIndicator : false,
showVerticalScrollIndicator : true, // should be a visual indication if can scroll
scrollType : 'horizontal',
horizontalWrap : false,
width : Ti.UI.FILL // assuming you need it full width - if not specify a width
});
// Create a TableView.
var aTableView = Ti.UI.createTableView({width:1000,backgroundColor:'red',height:200});
请建议我应该是什么that.Thanks可能的解决方案。
您是否试过Titanium ScrollableView。那个会水平滚动。 – Anand
谢谢阿南德。是的,我尝试过,但我真正想要的是视图应该只有一个像我做一个tableview,并定义它的大宽度,并添加在一些水平滚动。有意义的吗? – Ali