Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Titanium android horizontal scrollable tableview

$
0
0

Hi, Can we make a titanium android tableview scroll horizontally. I tried this

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});
Please suggest me what should be the possible solution for that.Thanks.

Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>