Introduction to AnDroidDraw + DroidDraw for Android program uidesign

Source: Internet
Author: User
Tags home screen

AnDroidDraw is an Android application integrated with DroidDraw, which allows you
You can also preview your GUIs on an Android device.
1. First download and install DroidDraw, the version I use is droiddraw-r1b22
2. Download androiddraw.apk and install it on the simulator. The installation steps are as follows:

1) Use cmd to enter the command line window and enter the platform-tools directory under your installed android-sdk,

2) use adb install AnDroidDraw.apk to install it on your Android device.

3) install a port forwarding rule: adb forward tcp: 6100

After installation, you can see the installed program icon on the simulator:

3. Run AnDroidDraw on your Android device. You should see something like this:

4. Run DroidDraw on your computer and create a GUI. Then, select "Project"-> "Send GUI to Deviec" from the DroidDraw menu ", the designed xml is sent to the AnDroidDraw program running on the simulator. If the program is successfully sent, the "Upload succeeded" message box is displayed.

5. Now you should see the xml like this on the Android screen that you created in DroidDraw:

6. Click "Preview Layout" to Preview your GUI.

7. Click the backward arrow of the simulator to return to the AnDroidDraw home screen.
Of course, you can also just use DroidDraw to design the UI, and then copy the designed xml code to the layout file of the android project, and run it directly to view the result.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.