3

我现在IconPageIndicator从库中使用viewPagerIndicator我需要在每个图标之间设置一个边距。是否可以在图标之间设置填充IconPageIndicator

4

2 回答 2

0

You can use PagerTabStrip instead of viewPagerIndicator lib, It is part of android support package v4, and you can use

void    setPadding(int left, int top, int right, int bottom)

for setting desired padding

于 2013-10-25T11:04:42.883 回答
0

通常,您需要在活动主题中为 ViewPagerIndicator 声明分隔符填充。
请在此处查看我的答案:https ://stackoverflow.com/a/22763404/1866122

于 2014-04-01T06:57:09.067 回答