在view-pager之间插入分隔符 [英] insert separator between view-pager
本文介绍了在view-pager之间插入分隔符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我如何像市场应用程序一样在view-pager内部的页面之间插入一些填充-黑线
How could i insert some padding between the pages inside view-pager like in the market app - the black line
推荐答案
这是ViewPager
的新API,称为margin,可以找到它的链接
That is a new api for the ViewPager
called the margin, a link to it can be found setPageMargin()
. Make sure you are using the latest support library.
这篇关于在view-pager之间插入分隔符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文