Your problem is similar to one CommonWare's blog. Multiple-View ViewPager Options There are three approach. One of those is override getPageWidth()
in your PagerAdapter:
@Overridepublicfloat getPageWidth(int position){return(0.5f);}
The others is more complicated but there're attach source and long explanation so i don't copy here.
resource url : http://stackoverflow.com/questions/13194666/how-to-set-viewpager-size
文章標籤
全站熱搜
留言列表