0

I am trying to practice different functionalities in Android using Android Studio.

Right now I wish to make it so I can swipe left/right between various components.

A good example of this is the app called Simple Workout Log. The top bar is scrollable (in a more localized way) whereas the bottom of the screen scrolls over entirely with each swipe.

I did notice something called HorizontalScrollView in Android Studio but couldn't figure out how to mimic the functionality.

How is something like this made?

AJJ
  • 2,004
  • 4
  • 28
  • 42

1 Answers1

0

Create tabbed activity and it will automatically implement view pager and FragmentPagerAdapter for you. After that you can look up for tutorials on creating tabs using frgments such as this one

Sahil Shokeen
  • 336
  • 3
  • 22