Removing a notification item in a slide in Android

I wonder how I can make items ListViewon slide, for example, how you can slidereceive notifications from the notification bar in Android. This is my situation:

I have a list of items, and when the user wants to remove an item from this list, it simply moves the item towards the edge of the screen. I would like this shift to be visible, for example. to use some kind of animation that smooths out what is provided Viewby holding the element.

Here are a few images to illustrate this.

Firstly, this is a normal notification state.

Normal state of notification

And then, it’s during the nomination

State during slide-out

Thank.

+5
2

( Android) , . , NineOldAndroids, Android. .

+3

All Articles