Kevin Barker
Kevin Barker

Reputation: 63

Android SDK "Slide" Capability

Does the Droid SDK support sliding your finger across the screen to go back to the previous screen, instead of using the back key?

Upvotes: 3

Views: 879

Answers (2)

Paresh Mayani
Paresh Mayani

Reputation: 128428

I assume that you mean "slide" as the unlocking system of i-phone.

Nothing is inbuilt for going back to previous screen..for implementing finger detection Implement GESTURE and implement OnFling() function.

OnFling() is the function that fired when the same kind of action performed as event unlocking the i-phone.

Upvotes: 1

CommonsWare
CommonsWare

Reputation: 1006724

There is nothing built in for that. You are welcome to watch for that gesture and call finish() on your activity, if you want. However, that is unusual and may cause confusion for your users.

Upvotes: 0

Related Questions