質問

I've been working on making customized lock screen.

I think I succeeded on making view come up when the screen is turned on.

However, I am wondering how I can make my app realize user's swipe activity in order to make screen go to the home screen just like the normal android lock screen does.

Any suggestion will be very helpful thx!

役に立ちましたか?

解決

Here are some examples to detect right,left,up and down swipes.You can detect any of the swipes and finish all activities to exit from your app.

Example 1

Example 2

Example 3

You can ask if you have any further queries.Happy coding :)

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top