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
Related Q & A:
- How to set the C++ standard in eclipse?Best solution by stackoverflow.com
- How to convert build.xml to maven pom.xml file?Best solution by Stack Overflow
- How to import library from GitHub to Eclipse?Best solution by Stack Overflow
- How to write a Dear Editor letter?Best solution by Yahoo! Answers
- How to become a book editor?Best solution by eHow old
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
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.