The first time I open my app, I have a view in a view in a Table row in a table which doesn't show up. If I press the home button, and then open it again, it shows up. If I clear it from my stack, then open it up again, it doesn't show up. Anyone know why?
var journalView = Titanium.UI.createView({ backgroundImage: 'NONE', height: '100%', width: Titanium.UI.FILL }); var rateButton = Titanium.UI.createView({ backgroundColor: '#27a0d7', height: '50%', width: '80%', borderRadius: 20, zIndex: 100 }); var rateLabel = Titanium.UI.createLabel({ color: 'black', font: {fontSize: '40dp', fontFamily: self.fontName}, text: 'RATE =>', verticalAlign: Titanium.UI.TEXT_VERTICAL_ALIGNMENT_CENTER, //top: 10 }); rateButton.add(rateLabel); journalView.add(rateButton); journalRow.add(journalView); rows.push(journalRow); var homeTable = Titanium.UI.createTableView({ allowsSelection: false, data: rows }); homeWin.add(homeTable);
Your Answer
Think you can help? Login to answer this question!