Hello! Tell me, please, how and with the help of what this thing is realized:

It turns out that a certain header was added to the ListView via addHeaderView . But, the question is, how do they keep track of what is dragging the list down and at this point the ActionBar overlapped by a text field that says "Scroll down to update"? Search by keyword in Google did not give much success.
The second question: how is the removal of Item 'a through the slide aside?

I implemented this feature via android-swipetodismiss , but this is not the original solution of the Google team and it has several drawbacks, unlike the Gmail implementation.