mardi 17 mai 2016

Android. CheckBoxPreference color

How can I change the checkbox color of CheckBoxPreference? I specifying theme attribute does not work. I have also set theme in manifest, but it is not displayed with accent color but with default color instead.

enter image description here

Manifest:

<activity android:name=".ui.activities.AppPreferencesActivity"
android:theme="@style/PreferencesTheme"/>

Style:

<style name="PreferencesTheme">
    <item name="colorAccent">#FF4081</item>
</style>

Am I missing something? Thanks in advance.




Aucun commentaire:

Enregistrer un commentaire