appcelerator/titanium_mobile — pull request #2492 by ayeung (2012-06-29 22:17:16+00:00)
Title: TIMOB-9416: Android: Can't create a custom url for the app

https://jira.appcelerator.org/browse/TIMOB-9416

Test case in Jira. Please also run 'android' test suite on drillbit (emulator and one other device) with both runtimes. This also touches code regarding the postlayout event and heavy weight window. Please try the following code to verify:

```
var winMain = Ti.UI.createWindow({
backgroundColor : 'white',
fullscreen : false,
navBarHidden : true
});

var logoutButton = Ti.UI.createButton({
title : 'Logout',
backgroundColor:'orange',
backgroundImage:'none',
width : 60,
height : 40,
top : 100,
font : {
fontSize : 12,
fontfamily : 'Helvetica Neue',
fontWeight : 'bold'
}
});
winMain.add(logoutButton);

winMain.addEventListener('postlayout', function(){
Ti.API.info('-----------------------------post layout');
});

winMain.open();
```

When running the app, you should see the post layout message in the logs.