I have an app, ready for ios.
But i am using constant sizes in positioning of view. for example : the padding of imageview is 10pixels from left.
In android i am using 10dp..is it correct??
What will be the equivalent way and perfect way to do this in android, so that my android app will target various sized android devices…
Due to the different devices running Android, creating a layout on android is quite different to the way you do it on iOS (on the other hand, an Android app wouldn’t have problems if you run it on a slightly higher screen like iPhone4 -> iPhone 5). You’ll have quite some stuff to learn in order to understand Android’s ways of layout. Here are some starting points for you: