Friday, April 22, 2016

Creating an iOS Style Swipe Button for Android

Even if you're never touched an iPhone before, you're probably familiar with the infamous "slide to unlock" button.

the good old iphone 'slide to unlock'

The original purpose behind this button was to prevent a device from getting accidentally unlocked while in a pocket. In the mobile apps you create, there may be a similar use case where you want to give the user the option to confirm a definitive action. The Uber app for drivers has such a button which the driver swipes from left to right to confirm that they want to start a journey.

Usually the solution is to prompt the user with a popup to confirm the action, but this is not an inspired solution. Let's try creating our own swipe button for Android.

Continue reading %Creating an iOS Style Swipe Button for Android%


by Kumar Animesh via SitePoint

No comments:

Post a Comment