Skip to content

ChenSiLiang/ScaleYViewPager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

ScaleYViewPager

a ViewPager with a scaleY animator

#Setup

  • In Eclipse, just import the library as an Android library project. Project > Clean to generate the binaries you need, like R.java, etc.
  • Then, just add SlidingMenu as a dependency to your existing project and you're good to go!

#XML Usage `

<com.usst.csl.viewpagergallery.ui.ScaleYViewPager
   android:id="@+id/pager"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    scaleyviewpager:offscreenPageLimit="3"
    scaleyviewpager:paddingLeft="130"
    scaleyviewpager:paddingRight="130"
    scaleyviewpager:pagerMargin="-350" />

`

NOTE:

  • offscreenPageLimit : the offscreen page number, can simply not specify.
  • pageMargin:the margin between pages,can simply not specify.
  • paddingLeft:set the left padding of center pager,according to your device.
  • paddingRight:set the right padding of center pager,according to your device.

#Developed By

  • ChenSL

#LOOK how it looks like

About

a ViewPager with a scaleY animator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages