Features of the Android SDK "Slide"

Does the Droid SDK support a sliding finger across the screen to return to the previous screen instead of using the rear key?

+3
source share
2 answers

I assume that you mean “slide” as an i-phone unlock system.

Nothing is built in to return to the previous screen .. to implement finger detection Add GESTURE and implement the OnFling () function.

OnFling () is a function that fires when the same kind of action is executed as an event unlocking an i-phone.

+1
source

. finish() , . .

0

Source: https://habr.com/ru/post/1755516/


All Articles