Luke Batley
Luke Batley

Reputation: 2402

android horizontal scrolling with buttons

Hi im wanting to create a function that allows the user to swipe left and right and a button slides in horizontally. for example there will be a big button on screen when you swipe it moves horizontally and another big button could anyone point me in the right direction as i have no idea where to start with it?

heres an example of what i'm looking for enter image description here

Upvotes: 0

Views: 353

Answers (1)

Litus
Litus

Reputation: 632

you can use viewpager: http://developer.android.com/reference/android/support/v4/view/ViewPager.html

and when the current page changes (there is a listener to do this) you can change the circle images at the bottom to show the properly page.

:)

Upvotes: 1

Related Questions