7

Can anyone give me an example, how to create chrome like switching between tabs?

I want to make my application to have multiple tab. These tabs can be switched like chrome does. Must I do snapshot on onPause, and then on switching activity display it? Any Android Native API about this feature?

Chrome's interaction on switch between tabs

As mentioned by jared rummler https://github.com/vikramkakkar/DeckView is good enough. But, how the best way to use this. Should I get screenshot each tab (Activity)? (24/03/2017)

Community
  • 1
  • 1
ibrohimislam
  • 717
  • 7
  • 21
  • Possible duplicate of http://stackoverflow.com/questions/26094666/create-ui-like-chrome-for-android – Jared Rummler Mar 23 '17 at 14:53
  • @ibrohimislam well just go through sample codes and codes hope this will help u understand how the DeckView works – PN10 Mar 28 '17 at 14:21
  • Examine system's [`RecentsView`](https://android.googlesource.com/platform/frameworks/base/+/4f9482d/packages/SystemUI/src/com/android/systemui/recents/views/RecentsView.java). – azizbekian Mar 30 '17 at 08:33

0 Answers0