What's a good XML editor?

How to Use Default XML Editor in Eclipse

  • Answer:

    Eclipse provides you with an editor you use to create an interface for your Android projects. The XML editor lets you drag and drop buttons, images and text boxes to the layout. Instead of making you manually insert XML code, the editor creates the XML based on the elements you add to the interface. The XML file packages with your Android app, but you can review the XML prior to compiling the program. Difficulty: Moderate Instructions Click the Windows "Start" button and type "eclipse.exe" in the text box. Press "Enter" to open the Eclipse software. The software opens directly to the last project you edited. Click "File," then "Import" if you want to open a different project. Click "Android," then browse to the directory that contains the project you want to edit. Click the "res" directory, then click "layout," then double-click "main.xml." The designer opens with a list of elements you can add on the left side of the window. Drag and drop an element from the toolbox to the emulator. The element draws on the screen, so you can validate how the layout looks on your user's device. Click the "main.xml" tab at the bottom of the designer. The button switches from the design view to the XML code, so you can review the changes. Click the "Run" button to compile the Java and XML code and view the changes in the emulator.

Jim Campbell at eHow old Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.