jaydeepw / poly-picker

Android library project for providing multiple image selection from the device.
406 stars 114 forks source link

Can't change the colors #81

Open silviahisham opened 8 years ago

silviahisham commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

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

mmanishh commented 8 years ago

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