Need help with MotionViews-Android?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

uptechteam
456 Stars 111 Forks MIT License 37 Commits 17 Opened issues

Description

Code Guide: How to create Snapchat-like image stickers and text stickers.

Services available

!
?

Need anything else?

Contributors list

# 186,465
Java
31 commits

MotionViews-Android

alt tag

Code Guide : How to create Snapchat-like image stickers and text stickers

After spending 2000+ hours and releasing 4+ successful apps working with image transformations, we’ve decided to share our experience with the community.

Task

So the task is pretty simple: add the ability to move, scale and rotate stickers on Android.

Even though it sounds easy, there are a couple of challenges as well. First, there is a zillion of screen sizes of Android devices, and we’d better support them all (or as many as we can). Moreover, it could be the case that you would need to enable users to save/edit their selfies. And if they open their custom works on other devices — the screen size might change, the loaded images might be of a different quality, etc.

As you might have guessed, the task is getting more complicated now.

The solution needs to work on different screen sizes and be independent of the image quality.

In the second part we've also added an ability to create text stickers, update them, and manipulate in the same way as with image stickers.

Solution

MotionViews-Android - is fully functional app that meets the requirements.

Check the Medium articles How to create Snapchat-like stickers for Android and How to create beautiful text stickers for Android about the details of the implementation.

Feel free to use the code for your own purposes.

Check out the app on Google Play.

Play with the online app emulator on Appetize.io.

The video of what we got in the end on the YouTube: Image Stickers and Text Stickers.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.