How to use the same layout for Android and iPhone using Titanium?

I am developing an application using Titanium for iPhone and Android. I created a button, label and text box. It looks good on the iPhone, but is scattered on Android.

I think I need to adjust each position of management. But that would be a big overhead.

Is there any alternative mechanism by which we can have the correct placement of controls on both iphone and Android?

+4
source share
2 answers

You should take a look at the user interface design guide . With each new version of Titanium Mobile, the platform becomes more consistent between the various supported platforms. You really don't need to maintain separate codebases.

+3
source

First of all, do not pay attention to the same appearance. iOS and Android are completely different OSs. In Titanium, you do not have many of the controls available for iOS.

Let the appearance and appearance be different for Android, do not do it iPhonish.

http://wiki.appcelerator.org/display/guides/Designing+the+User+Interface

Although their documents are not supported properly. I would suggest you use cool graphics that can improve the look of the application.

I created a button and a label and a text box. It looks good on the iPhone, but is scattered in Android.

It should not be, write your code. Appearance may vary, but it should not be scattered.

0
source

All Articles