I have been studying the kitchen sync app and wish to create a view that is represented in window_navbar.js. Unfortunately I can't seem to get the navbar or title to show.
I've even included the whole window_navbar.js file in my app.js file except for the line
var win = Titanium.UI.currentWindow;
Given this, my app.js looks as follows:
var win = Titanium.UI.createWindow();
//Content of window_navbar.js except for "var win..."
win.open();
1 Answer
Accepted Answer
If you want to make a drill-down, use a navigationGroup. This will provide you the navBar. If you just want to open a window, you will have to fake the navBar using a toolbar positioned at the top of the window.
Your Answer
Think you can help? Login to answer this question!