Skip to content

Preview color always black #34

Description

@ronenfe

<com.skydoves.colorpickerpreference.ColorPickerPreference
app:key="day_speed_color_picker"
app:title="Dial color for day theme"
app:summary="Choose your color"
app:enabled="true"
app:defaultValue="#FF9999"
app:preference_attachAlphaSlideBar="true"
app:preference_attachBrightnessSlideBar="true"
app:preference_colorBox_radius="26dp"
app:preference_dialog_title="Select Color"
app:preference_dialog_positive="OK"
app:preference_dialog_negative="Cancel" />

I put this in pref xml.

the preview color always stays black.
Also no change event fired when changing the color
override fun onSharedPreferenceChanged(sharedPreferences: SharedPreferences, key: String?) {
when (key) {

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions