Is there an application or tool that can do a preview of Android XML gradients and shapes? Is very annoying having to run app in emulator each time I modify XML, it should be a better way but Google says nothing.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As of ADT 11, the eclipse plugin allows for a preview of gradients and drawables from the View mode of the xml. In ADT 12, there is even a drawable preview within the resource chooser dialog.
Make sure you have updated to ADT 12 along with SDK Tools r12. Here are the relevant release notes:
ADT 12.0.0 (July 2011)
Visual Layout Editor:
ADT 11.0.0 (June 2011)
Visual Layout Editor:
I have personally been using ADT 12, and can view gradients and custom views from within the graphical layout editor itself.