I want to do screen optimization. That means once I develop the UI in android it should fit exactly the same in all android enabled phones.
So how do i do it?
I want to do screen optimization. That means once I develop the UI in android it should fit exactly the same in all android enabled phones.
So how do i do it?
It sounds like you want your UI to look exactly the same on all Android devices. As Daniel says, this is impossible, as Android devices differ hugely, due to different screen sizes, ratios and resolutions.
Fortunately, the Android UI system was designed precisely with different screens in mind. Given your UI design, it'll try it's best to make it work on the user's device, no matter what size or orientation it is. Buttons and labels and windows and images will adjust to fill the available space as specified by the UI designer.
Unless you have a specific technical reason to limit yourself to a rigid UI of specific dimensions, I'd advise you get to grips with Android's UI and components!