Android - Any third-party tool for designing and generating XML?

Is there any third-party tool in which we can create layouts for android and then it generates their xml files accordingly?

+4
source share
3 answers

There is something called DroidDraw with which you can easily generate an xml file. Its constructor / user interface editor (UI). You need to drag the widgets into the editor, then it will generate the corresponding xml code. Hope this will be helpful.

+1
source

IntelliJ IDEA 12 has a graphical editor for layouts that on the fly also generates XML. The same thing happens the other way around. The IntelliJ IDEA Public Edition is free and open source.

+2
source

You can use external editors. But I recommend working with XML itself, because you get a much greater degree of control.

As a simplified example, you can use the visual layout editor to drag the text box to a size that looks good. But this may only look for the specific screen size and resolution that you use to check it. Instead, if you use an xml property such as "wrap-content", your text box will automatically resize it to fit the text inside it, and it will execute reliably in all screen sizes / resolutions.

Of course, you still have to fine-tune and fine-tune the layouts for the screen sizes and resolutions that you plan to use in your application, but only to control the fineness and accuracy that you get using xml is expressly highly recommended in my opinion.

It is not so difficult as soon as you get it :-)

0
source

Source: https://habr.com/ru/post/1437524/


All Articles