Back in the day before NetBeans GUI builder (Matisse) is mature enough, I need to perform hand coding, in order to generate a Swing GUI form/ dialog layout.
Now, I no longer need to perform any hand coding for Swing GUI, as Netbeans is able to generate correct Swing GUI code. - A happy NetBeans user :)
Now, for Android App development, I was wondering, whether most of you are perform hand coding, or using some sort of WYSIWYG tool to generate the layout XML file?
Till now, I had tried Eclipse + SDK, DroidDraw. However, I was quite disappointing with those tools, as non of them able to generate my desired outcome.
Each XML file contains a tree of elements specifying a layout of widgets and containers that make up one View. The attributes of the XML elements are properties, describing how a widget should look or how a container should behave.
The Layout Editor enables you to quickly build layouts by dragging UI elements into a visual design editor instead of writing layout XML by hand.
XML stands for eXtensible Markup Language, which is a way of describing data using a text-based document. Because XML is extensible and very flexible, it's used for many different things, including defining the UI layout of Android apps.
I definitely hand-code it. When I last tried the Eclipse editor, it was so terrible I wouldn't even use it for minor adjustments, as it'd mess up everything I'd previously written.
Hand code all the way. I think its more comfortable for pure dev types like me who would rather become more familiar with the nuts and bolts rather than spend time learning an abstracted tool to do the same. That said, if a mature, effective Android layout tool shows up, I'll definitely be giving it a shot.
The place where I start disliking WYSIWYG layout editors is usually when you get into fluid layouts, which is critical to Android development. I know Apple likes using the word "fragmentation" to disparage Android's proliferation across devices. Its not a bad thing in its nature, but it does create unique problems in designing apps that will provide a uniform experience. I have yet to see a WYSIWYG editor that addresses this well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With