Android layout view without compilation

I'm new to Android development, and the biggest new thing is how the user interface is rendered (relative to other views instead of absolute locations and sizes). As a result, I experimented a lot with layouts and found that I change 1 view or even 1 view property, and then recompile and run it back into the emulator to see the result. Is there a tool that quickly (or at least faster) shows what the user interface looks like, gives an xml layout file?

+3
source share
4 answers

You can look at http://www.droiddraw.org/ , but this is not ideal.

+1
source

You can use Eclipse with the Android Development Tools by opening the layout file, you get a preview of what it looks like. In addition, ADT provides several useful features for development and debugging on the Android platform.

+1
source

XML, "" , :

xml view

:

alt text

, (, ), , .

+1

Android Studio versions 2.x and higher render XML in real time in the "View" area of ​​the IDE, and even map XML and outline views side by side.

0
source

Source: https://habr.com/ru/post/1773736/


All Articles