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

Loading bitmap of custom size #8

Closed
taimur97 opened this issue Feb 15, 2016 · 2 comments
Closed

Loading bitmap of custom size #8

taimur97 opened this issue Feb 15, 2016 · 2 comments

Comments

@taimur97
Copy link

When I load a bitmap it resizes it
How can I load a resized sticker say like 150px by 180px?
I tried changing the layout params from match_parent to different sizes but it didn't work and I also tried scalling the bitmap before loading it in StickerView but StickerView resizes it
Please help...

@nimengbo
Copy link
Owner

set the initScale

@imran-samed
Copy link

imran-samed commented Mar 23, 2018

Just set the value of initScale
In my case it was 2.8666f and i want reduce the size of sticker
so i decrease the value by 1.5f
And its perfect.

you can find this value in StickerView --> setBitmap

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

3 participants