Custom tableview
Hi everyone,
In previous 0.9 sdk, i was able to do custom tableview with cool background image.
To do so i used something like :
var data = [{title:'my title', backgroundImage:'images/MyPicture.png',
rowHeight:73},
var template = {layout:[ {type:'text', fontsize: Blabla....}
var tableview = Titanium.UI.createTableView({data:data,
template:template' ......
But this seems not to work anymore with latest titanium SDK.
Anyone have informations/links about that ?
Thank You very much.
1 Answer
-
Hi Yann. I'm in the same boat; I'm converting my apps from 0.8, and although it's not that different, there's a bunch of stuff that doesn't work as expected :)
Re. your question
In your sample, you've got the backgroundImage set against a row of data.. don't do it there.. do it in the createTableView call.
If that doesn't work couldn't you make the window/view have a background image, and then make the tableView transparent (using the opaque property)?
Let us know what works or doesn't work! :)
Matt.