Search code examples
androidandroid-fragmentspageviews

android pageview or fragments for UI controls


I'd like to develop an app with a similar interface as below

https://youtu.be/lEiCk4Pre6Y

I believe it uses pageview and fragments.

I came across this link which looks similar, but I wonder if anyone can point me how on the right direction. In other words, what UI controls I should use precisely.

https://plus.google.com/+RomanNurik/posts/1Sb549FvpJt

Note that it scrolls nicely with the touch screen and it shows another UI on the back. It is not just animation of fragments.

any hints are greatly appreciated.

thx!


Solution

  • It looks like a CoordinatorLayout with an AppBarLayout and CollapsingToolbarLayout making use of either NestedScrollViews or RecyclerViews will achieve a result similar to what's in the video.

    Check these links for reference:

    AppBarLayout

    CoordinatorLayout

    CollapsingToolbarLayout

    A nice tutorial on the subject