Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Height and Width in AnimatedSvgView #21

Open
kishcs opened this issue Dec 19, 2019 · 0 comments
Open

Height and Width in AnimatedSvgView #21

kishcs opened this issue Dec 19, 2019 · 0 comments

Comments

@kishcs
Copy link

kishcs commented Dec 19, 2019

Hi, How do we decide what should be the height and width in AnimatedSvgView?
e.g. animatedSvgImageSizeX and animatedSvgImageSizeY

I tried with a path , letter A
"M9.93,13.5h4.14L12,7.98zM20,2L4,2c-1.1,0 -2,0.9 -2,2v16c0,1.1 0.9,2 2,2h16c1.1,0 2,-0.9 2,-2L22,4c0,-1.1 -0.9,-2 -2,-2zM15.95,18.5l-1.14,-3L9.17,15.5l-1.12,3L5.96,18.5l5.11,-13h1.86l5.11,13h-2.09z"
with size as 512, 512
but it displays very small.

then I tried with 50, 50, it displays little bigger but its cropped at left top corner.
Please have a look at the attached screenshots.

With Size 50, 50

Screenshot_2019-12-19-10-47-22-785_com jaredrummler android animatedsvgview demo

With Size 100, 100

Screenshot_2019-12-19-10-48-04-052_com jaredrummler android animatedsvgview demo

With Size 512, 512

Screenshot_2019-12-19-10-48-39-761_com jaredrummler android animatedsvgview demo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant