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.

Asked by kmohsin11
Added March 14, 2017 2:41 pm

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).

Answer by Anonymous
Answered On March 14, 2017 9:06 pm #
Looking for another answer? View other questions in Android Text Photoshop Image or get premium support for guaranteed results.
Asked by kmohsin11
1496 views
1 answer
Last Answered 7 years ago by kmohsin11

Recent Answers

asked by rihabbenhmida
asked by zaineb khiari
asked by nmax
asked by shanrt
[+] View All Recent Questions

Share Your Knowledge!

Contribute to the community and help other users to benefit from your answer with experience and knowledge.