开发者

Is there a good tool for doing Android layout design? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. 开发者_如何学JAVA

Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.

Closed 8 years ago.

Improve this question

I have tried DroidDraw and the Eclipse layout editor and both seem very difficult to create anything other than very simple layouts. I find myself dropping back to the XML file to be able to manipulate it.

Has anyone found any good tools to design the actual screens? I am not looking for a mock-up tool... but an actual tool to create the XML layouts.

Update: The new eclipse designer with 2.3 is better, but honestly I thought that it would be further along. I don't mind dropping down to the XML when necessary, but just seems like it is time to get some good designer tools in the space.


Over the years i've learned that there is no good drag and drop tool for anything. Code, forms, layouts, at the end the best way to create something is going to the src. Since we're talking about mobile device here, good, optimized layouts are important. Therefore it's worth to spend some time and manually edit XML, it will make product better.


try IntelliJ IDEA IDE. It has a good android layout design tool


DroidDraw: It's not perfect, but it's a nice start.


I created a tool that allows you to scale/adjust your layouts for tablets and small screen devices and made a blog post about it here: http://onemanmobile.blogspot.com/2012/04/how-to-scale-your-android-layouts-to.html

Basically, defining your layouts in dp units is not enough if you want your app to fit on all devices and tablets, since there's four different "density-buckets". This tool will allow your layouts to be converted into fitting these density buckets.

So in your case, define one layout - and have it scaled as you please..


Yeah, its not easy. But if you work with it (Eclipse that is) long enough and you'll figure out the tricks to make things work well.

With complex screens the biggest problem is that they tend not to scale up/down as well as simpler screens. So you may end up designing the screen a few different ways to support multiple screen sizes.

Interestingly enough, for iPhone screen design, the layout part is extremely easy due to the fact that absolute positioning is used, so you just drag stuff exactly where you want it. So for complex Android screens maybe use absolute layout. Most people will tell you this is a bad approach, and I've never used it myself, but who knows. Just keep in mind they myriad of screen sizes that your app will be shown on.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜