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

文章標籤
全站熱搜
創作者介紹
創作者 techdrew 的頭像
techdrew

資訊鏟

techdrew 發表在 痞客邦 留言(0) 人氣(107)