Help in parsing Android and Java« Back to Questions List
hello everyone, I am trying to make java program for converting psd file to android layout file. i have parsed text layer and image layer but i am unable to find how to parse shape layer. i want to know the details of shape layer(rectangle,oval etc.). there are a few additional information tags in shape layer like SoCo, vmsk, vogk etc. but they arent helping. i am using Adobe Photoshop File Formats Specification as reference. Pleasee helppppp. |
Do you have the right answer? If you do other users will benefit from your contribution, share your knowledge with the community!
Hi, Basic shapes such as square, rectangle, circle, are parsed automatically to native Android shapes. For complex shapes such as a star or vectors, you must enable SVG Paths and you will get native Android vectors. When you export your Android UI you will get your shapes.xml with your corresponding element (depending if you enabled SVG Paths). |
Share Your Knowledge!
Contribute to the community and help other users to benefit from your answer with experience and knowledge.