Trying to get my blog up and running again, and came across this peculiarity with a useful Android library called CirclePageIndicator. Basically, if you want to set the non-selected fill of one of the circles to transparent, you must do it in java rather than xml.
E.g. This won’t work:
But this will:
mCirclePageIndicator = (CirclePageIndicator) view.findViewById(R.id.circlePageIndicator_intro);
mCirclePageIndicator.setPageColor(android.R.color.transparent);
Like this:
Like Loading...
Published by Karim Varela
I'm an entrepreneur and blockchain enthusiast, currently cofounder and CTO at Roam, a travel company at the intersection of blockchain. Previously, I built a mobile banking platform as the Vice President of Engineering and managing partner at Beam Financial. I was also part of the engineering teams which built Coffee Meets Bagel, Tinder, and Fandango.
In my spare time, I enjoy salsa dancing, Brazilian jui jitsu, and traveling the world.
View all posts by Karim Varela
You must log in to post a comment.