datepicker and timepicker modal dialog not showing set and cancel buttons in android Titanium Appcelerator!
var picker = Ti.UI.createPicker({
type: Titanium.UI.PICKER_TYPE_DATE,
value: new Date(),
top:200
});
datepicker displaying without set and cancel buttons. I can't find solution!
var picker = Ti.UI.createPicker();
picker.showDatePickerDialog({
callback: function(e) {
if (e.cancel) {
Ti.API.info('user canceled dialog');
} else {
Ti.API.info('user selected date: ' + e.value);
}
}
});