Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android layout render without compiling

I'm new to developing with Android, and the biggest new thing is the way the UI is rendered (relative to other views instead of absolute locations and sizes). As a result, I've been experimenting a lot with layouts, and find myself changing 1 view or even just 1 property of a view, then having to recompile and launch it back into the emulator to see the result. Is there a tool that quickly (or at least quicker) shows what a UI looks like give a layout xml file?

like image 531
fishsticks Avatar asked Jun 17 '26 15:06

fishsticks


2 Answers

You can look at http://www.droiddraw.org/ but it is not perfect.

like image 76
Kevin Gaudin Avatar answered Jun 20 '26 08:06

Kevin Gaudin


You can use Eclipse with Android Development Tools, when opening a layout file you get a preview of what looks like. Besides, ADT provides some nice features for developing and debugging in the Android platform.

like image 26
aromero Avatar answered Jun 20 '26 08:06

aromero



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!