aspose file tools*
The moose likes Android and the fly likes How to create proper layouts in Android? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "How to create proper layouts in Android?" Watch "How to create proper layouts in Android?" New topic
Author

How to create proper layouts in Android?

Ruturaj Vaidya
Greenhorn

Joined: Jan 17, 2011
Posts: 7
I want to ask question to Lucas Jordan and Pieter Greyling that how to design or develop proper layouts for screen in any android project development?

I am new to android and just now from 3 months working on a android project which is basically for tablets. But when I used fill parent option it isn't working well and need to give hard quoted values of screen resolution. It worked for that tablet but not on different one as it's of another screen resolution.

So basically i want to know how to develop such kind of screens in androids which were smart enough to adjust any screen of any size?

Please help me regarding this as I am stuck here in major issue over it.

Thanks!
Pratik Goswami
Ranch Hand

Joined: Mar 02, 2009
Posts: 136

Hi,
You should use


Thanks
Pratik Goswami


iOS * Android Developer
Ruturaj Vaidya
Greenhorn

Joined: Jan 17, 2011
Posts: 7
thank you Pratik but when designing some complicated layouts it's not possible with "fill parent". i'm having some issues over complex layouts only...
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17260
    
    6

I agree with you, once you get to a little complicated UIs, it becomes difficult to create correct layouts.

I use DroidDraw, and took some time to learn how to use it, and what happens when I change settings and add layout managers to see what happens. I like that you can load any xml layout file you have and see what it will look like, as well as how it can generate the xml for you.

It isn't perfect and most complicated UIs will still be difficult to write, but maybe that means we just have to find easier UIs to create to get the same points across.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to create proper layouts in Android?