I'm using a ViewPager
and a CirclePageIndicator
, from ViewPagerIndicator
lib, to show images with some circles below, but the circles are overflowing the layout, like this:
有某种方法可以定义圆的最大限制吗?为了保持这样:
该功能未在该库上实现。你必须自己重写圆形页面指示器 https://github.com/JakeWharton/ViewPagerIndicator/blob/master/library/src/com/viewpagerindicator/CirclePageIndicator.java。检查onDraw
限制绘制圆圈数量的方法。
我想您还会遇到一些与所选圆圈指示器相关的问题,但它们应该很容易处理。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)