IntelliJ Java IDE
The moose likes Android and the fly likes How to create proper layouts in Android? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Mobile » Android
Reply 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: 16624

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
 
IntelliJ Java IDE
 
subject: How to create proper layouts in Android?
 
Threads others viewed
Developing School management system
screen resolution problem
Converting from null Layout to Layouts
for getting project of Android
Resolution Detection with JSP
IntelliJ Java IDE

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture