I have a problem with buttons in 2.0.2GA on Android 2.2. I have buttons with no title and only an image.
var win = Titanium.UI.createWindow({ backgroundColor : '#1f1f1f', fullscreen : true, navBarHidden : true, exitOnClose : true, top : 0 }); var view = Ti.UI.createView({ width : '100%', height : 63, top : 0, left : 0 }); var button = Titanium.UI.createButton({ width : 42, height : 42, right : 32, image : '/icon.png' }); button.addEventListener('click', function(e) { Ti.API.info('clicked'); }); view.add(button); win.add(view); win.open();Run this code in 2.0.1GA2, 1.8.x, 1.7.x and the button displays just as an image.
But in 2.0.2GA the image shows but behind it there is a button object being drawn, this button object then flashes (orange in my case) as it is clicked.
Richard
Your Answer
Think you can help? Login to answer this question!