Android. Swipe back like Telegram
2 answers
Telegram uses its own created snippets. They created a class called ActionBarLayout, which is basically a FrameLayout and added to the main activity, and the fragment is just a view class (TelegramFragment) that is added to the ActionBarLayout (they are stored in a list and are much faster than regular fragments (with slightly less capabilities ).
To animate, they just animate the added look.
+4
source to share