Muhammad Umar
Muhammad Umar

Reputation: 11782

ScrollView screens similar to main menu in android

i am trying to add a scroll screen layout in my app just similar to main screen scroll of any android mobile. How can i Add such a screen in my activity.

Check the image below. enter image description here

Upvotes: 2

Views: 231

Answers (4)

Ahmad
Ahmad

Reputation: 72623

You can do this by using ViewPager. The ViewPager is also included in the Support library, so you can use it on HC< . It works excactly like this.

There are also custom implementations of the ViewPager, which increases its possibillities e.g.: The ViewPager from Jake Wharton.

Upvotes: 5

vipsy
vipsy

Reputation: 427

Use Jack Wharton's ViewPagerIndicator, it should work for you.

https://github.com/JakeWharton/Android-ViewPagerIndicator/

Upvotes: 0

Paresh Mayani
Paresh Mayani

Reputation: 128438

You can either go with Android ViewFlow or ViewPagerIndicator

Upvotes: 0

Bucks
Bucks

Reputation: 687

This can be done by using "SwipeView"

A SwipeView is an Android UI view similar to the homescreens. You have several similar panes of content that you access by swiping left and right.

Upvotes: 1

Related Questions