material-intro-screen icon indicating copy to clipboard operation
material-intro-screen copied to clipboard

How can I customize current page indicator color?

Open vicentebalderas opened this issue 6 years ago • 6 comments

I'm developing an app that has a white background color and the InkPageIndicator for the current page is white. How can I change that?

screen shot 2017-11-13 at 11 18 53 am

vicentebalderas avatar Nov 13 '17 17:11 vicentebalderas

+1

bagintz avatar Jan 23 '18 20:01 bagintz

i also want to change it . anybody can give some idea ?

akmalshukri avatar May 04 '18 07:05 akmalshukri

+1

patoigz avatar Jul 24 '18 21:07 patoigz

+1 I have the same issue, is this repo still alive?

alejouribesanchez avatar Sep 29 '18 19:09 alejouribesanchez

+1 Having the same problem

nietsmmar avatar Jan 17 '19 12:01 nietsmmar

Didnt test it myself but you can fork this repo and change the line app:currentPageIndicatorColor="@android:color/white" within activity_material_intro.xml to any color you want. Forks can easily used with gradle via jitpack.


More generic way would be to make a setter within MaterialIntroActivity which sets selectedColour within InkPageIndicator or just make a customizable color resource.. But as this repo is not longer supported even for pull request i wont investigate in a PR, sorry

Hatzen avatar Jan 08 '20 20:01 Hatzen