1

I have a grid of buttons using GridLayout on my Android app. I want to swipe over this grid, so that another GridLayout is displayed. Is this possible using GridLayout? Any hint to where I should be looking for this would be great. Edit: The GridLayout is a grid of buttons, that only occupy half the screen.

  • 1
    Try using a viewPager and each page is a GridLayout? – Xiaoyu Yu Nov 22 '15 at 04:41
  • Will this also work for a grid of buttons, so I can swipe on this grid and show another grid of buttons? I am not exactly sure. I am trying to follow this link: http://stackoverflow.com/questions/24622942/how-to-swipe-only-a-portion-of-the-layout but I am not sure how to proceed with buttons. – user16342blue Nov 22 '15 at 05:33
  • each page of a viewPager can be a fragment which has its own layout file, so it can be anything. – Xiaoyu Yu Nov 22 '15 at 06:23

0 Answers0