Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

A customized ViewPager display item right on the horizontal center,based on android support v4 source code

License

Notifications You must be signed in to change notification settings

chikeong/CenterViewPager

Open more actions menu

Repository files navigation

CenterViewPager

When I try to replace the gallery widget which display images on the horizontal center using ViewPager. I encounter a problem: with normal Viewpager provided by android support v4, images item won't show right on the horizontal center, instead always on Left. So I customized the ViewPager based on the source code.

image

You can install the Demo.apk on the root directory to see the final performance.

How to use:

you can just copy the CenterViewPager file to your specific "View" folder in your project. Then use it like the normal ViewPager.

About

A customized ViewPager display item right on the horizontal center,based on android support v4 source code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.