Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs


Top White Papers

More on LinuxToday


Dumping WYSIWYG: Building Android User Interfaces at Run Time

Feb 17, 2010, 12:33 (0 Talkback[s])
(Other stories by Frank Ableson)

"Developing Android applications ordinarily commences with a File -> New -> Android Project.

"The new project wizard creates a simple Android application sporting a single TextView UI widget.

"This UI widget is contained within a user interface file layout named main.xml.

"The Android Developer Tools (ADT) include a modest WYSIWYG (What you see is what you get) layout tool that is used to work with these xml files. You know the drill: drop a new control on the screen, set properties and away you go.

"As an alternative to using the WYSIWYG tools, an Android developer can edit the xml file directly. In we looked at a simple user interface to support our excursion into the Android Native Development Kit. Here is the xml used for that simple interface."

Complete Story

Related Stories: