I have been learning android development and I am still new to this.
I have already designed many apps for iOS.
Is there a better way to have my layouts as easy as iOS?
because in iOS I only have to drag and move it wherever I want . Where in android I have to insert tables and edit XMLs, which I find very confusing and not flexible to deal with.
I have read and watched many tutorial and still find it a bit difficult to deal with
Thanks
The short answer is NO. The long answer is that this is how it’s done on Android, and it’s much more flexible than the iOS method. Just imagine making Android app the iOS way and support screen sizes such as 240×320, 320×480, 480×800, 480×854, 540×960, 600×1024, 720×1280…and so on, and it’s easy to realize that it would be an impossible task. This is almost certainly why Apple went with “Retina Display” with exactly 2x the pixel density and exact same screen dimension (3.5″) – because doing anything else would mean that all the apps would need to be designed specifically for the new screen instead of just providing images with a @2x postfix.
So, instead of absolute positioning and sizing like the iOS, XML is used in Android where designers are tasked to come up with one or more layouts that can support this diverse range of screen sizes.