Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't change the colors #81

Open
silviahisham opened this issue Oct 23, 2015 · 3 comments
Open

Can't change the colors #81

silviahisham opened this issue Oct 23, 2015 · 3 comments

Comments

@silviahisham
Copy link

I use this code to change colors, but it doesn't work, neither the tab indicator or the camera button changes their color

Config config = new Config.Builder()
            .setTabBackgroundColor(R.color.white)    // set tab background color. Default white.
            .setTabSelectionIndicatorColor((R.color.primaryAppColor)
            .setCameraButtonColor(R.color.green)
            .setSelectionLimit(4)    // set photo selection limit. Default unlimited selection.
            .build();
@nishantjain91
Copy link

For camera button color, the library uses porter duff darken mode which will only work if the valueof your color is smaller than the default color.

@silviahisham
Copy link
Author

but what about the tab indicators? they're always blue, I can't change them.

@mmanishh
Copy link

mmanishh commented Nov 3, 2015

Yes, i have the same issue working on . Crashed when i tried to change tab colors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants