Sunday, January 25, 2009

Android-DroidDraw


A word about widgets:
Well, all your text boxes, radio buttons, check boxes etc are called widgets. Believe me, you don't need to know anything else :) ...

Designing a Layout: DroidDraw
Some of you may think that you need to know xml to design a layout of your application. Theres a good news for you, tools like DroidDraw let you design layouts without any knowledge about xml.
Heres how:
1. Go to http://www.droiddraw.org/ and download DroidDraw for free.
2. Now open it, and choose the layout(I prefer absolte layout).
3. Click on the Widgets tab on the right side and drag the widget to be inserted.
4. Click on the properties tab and type a meaningful name for the widget.
5. In the Id field, type another name.This is the name that you will choose for reference in your program.
6. Click on Generate, this generates the xml code for the layout.

Where do I use the xml code generated?
You need to replace this generated code with your main.xml (in Projectname/res/layout).


1 comment:

  1. This is a Great Tool .I actually Must appreciate the idea of creating the tool.
    Just Try it Once

    ReplyDelete