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.