Choosing a cross-platform layout method
There are a number of methods for creating applications in Titanium that are able to share logic, but have customised layouts. Before we begin, here are some of the general UI principles that are worth sticking to:
- Don't try to make Android look like iOS and vice-versa. For example, Android users are used to tab bars appearing at the top of the screen, and while it's easy enough to make these bottom-aligned like an iOS tab bar, it's not really a best practice.
- Use the in-built components wherever possible. Using default UI components (such as Option Dialogs, or Android Menu Bars) makes your applications look, feel, and act like their native counterparts. The Titanium API already takes care to ensure that the ...