Peepz,
The code below need to add a simple headerpullview to my tableview but its not visible (i can see the backgroundcolor when im pulling down but no black square ('tpv1'))
What im doing wrong? Do i need to make it 'visible' or set it to 'show()'?
var instance = Ti.UI.createTableView({ /*separatorStyle:Titanium.UI.iPhone.TableViewSeparatorStyle.NONE,*/ separatorColor: '#f1f1f1', showVerticalScrollIndicator:false, top:globals.mainBorderWidth, width:myWidth, left:globals.mainBorderWidth, }); var tpv = Ti.UI.createView({ backgroundColor:"#fcfcfc", left:0, right:0, height:30 }); var tpv1 = Ti.UI.createView({ backgroundColor:"#000", left:0, right:0, height:30, width:20 }); tpv.add(tpv1); instance.headerPullView = tpvHope someone can help?
Your Answer
Think you can help? Login to answer this question!