-
-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
The documentation is missing a default value (app:default_color), so users may not know how to specify one. Example:
<com.skydoves.colorpickerpreference.ColorPickerPreference
android:key="@string/BackgroundColorPickerPreference"
android:summary="changes background color"
android:title="Background Color"
app:default_color="@color/md_yellow_A700"
app:iconSpaceReserved="false"
app:preference_dialog_negative="@string/cancel"
app:preference_dialog_positive="@string/confirm"
app:preference_dialog_title="Background ColorPickerDialog"
app:preference_selector="@drawable/wheel" />
On a side note, preferences usually use app:defaultValue to specify a default value. It would be a good idea to be consistent and do the same. You may also want to use camelCasing for your attributes.
Metadata
Metadata
Assignees
Labels
No labels