Titanium: platform detection and changing interface style accordingly
===

As you may be aware different platform will require slightly different UX/UI.

Example, when you design for the iphone, you might have a back button, however when you build for android, you do not want a back button.

Other things is icons, you might have multiple buttons on the toolbar on the android and only 2 buttons on the toolbar for the iphone.

So the question is...when you build the js file to define the interface, do you build TWO different interface js file each specific to the platform or just 1 js file that would change UI according to platform detection.

----------
I think it might be easier to have two set of UI specific to the platform, rather than change style on platform detection, because the UX might even be different, so the code for UX and UI would be rather complex? what do you think?