Friday 15 July 2011

ios - How to put a View under a tableView -


I am using tabs. I have a window in which I have added a table view and now I underneath the window Want to add a scene (not at the end of table rows). It should be visible all the time below. any suggestion?

Create some space below the table view and then add a different view to the window

Then there is an example:

  var mainWindow = Ti.UI.createWindow ({}); // This creates a table view with a 100 pixel difference at the bottom of the table tableview = titanium.u.centabelview ({top: 0, left: 0, right: 0, bottom: 100, background color: 'green'}) ; // This main window main window Add tableview to table (tableview); // It adds the scene to the bottom of the screen to scroll and is always fixed in the lower bottom underneath. ({Bottom: 0, left: 0, right: 0, height: 100, background color: 'red'}); // This downline connects the main window to the main window.    

No comments:

Post a Comment