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.
Thanks for pointing this. But neither app:default_color nor app:initialColor is working in my case. Also app is crashing while showing this dialog on higher versions of Android.
The documentation is missing a default value (app:default_color), so users may not know how to specify one. Example:
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.