I'm looking to extract the code that "paints" the layout preview so I do my own
thing with it. Basically my goal is to run some JAR/EXE file from the command
line and give it the android XML layout. It then would take that XML definition
and create the UI, grab any necessary strings and resources from the source
tree, and save it as an image file (PNG, etc.). I'm not sure which part of the
droiddraw source I need to use to do this, could anyone point me in the right
direction? Or, do you know of any programs that already do this? I tried
looking at Android Studio's code for their layout preview but it's so
convoluted I'm not sure I can re-purpose it for what I want to do.
Original issue reported on code.google.com by harmonmi...@gmail.com on 28 May 2015 at 10:59
Original issue reported on code.google.com by
harmonmi...@gmail.com
on 28 May 2015 at 10:59