Android SDK "Slide" Capability
Does the Droid SDK support sliding your finger across the screen to go back to the previous screen, instead of开发者_StackOverflow社区 using the back key?
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.
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.
精彩评论