MaterialTabsListScrolling icon indicating copy to clipboard operation
MaterialTabsListScrolling copied to clipboard

how can i define same result from design tab layout?

Open engr-erum opened this issue 9 years ago • 2 comments

i m using design tab layout with viewpager but i want same functionality how can i hide design tabs once user start scrolling my page so that the whole view including tabs and linearlayout above tabs moves up and user can only see content of each tab easily ?

engr-erum avatar Aug 29 '15 09:08 engr-erum

Take a look at the new views of the Design Support library ( http://android-developers.blogspot.de/2015/05/android-design-support-library.html ) Especially the CoordinatorLayout will help you to achieve your intended behavior, and if you're lucky you can do it with xml only :wink:

Dan1ve avatar Aug 29 '15 16:08 Dan1ve

i already tried to achieve using Coordinator layout i have posted question in SO regarding that http://stackoverflow.com/questions/32288013/failed-to-load-fragments-when-tabs-viewpager-inside-scrollview
but still its not working any idea pls share @Dan1ve

engr-erum avatar Aug 29 '15 17:08 engr-erum