Search code examples
androidimageviewslideunlock

Slide Unlocker ImageView


Possible Duplicate:
Slide Unlocker ImageView ViewFlipper

I want to create a Slide Unlocker (just like on the iPhone)

I can´t use gestures for that, right? Because I should can change the position of the ImageView of the Unlocker permanently. The ImageView should "follow" my finger.

Do I have to use a simple onTouchListener on the ImageView?


Solution

  • You should work on your accept rate, you're more likely to get better help if you don't have 0%.

    You could likely repurpose a SlidingDrawer to do what you want.

    The other option is to pull out the SlidingTab java file from the Android source code and include it in your own project, and make use of it how you like. Since this Object was not included in the public APIs you must provide your own copy of it if you wish to use it in your application.