Skip to content

Will you add a DialogPreference? #31

@avs333

Description

@avs333

Thank you for the code!
It'd be cool if you added support for DialogPreference, because the colour selection would often be from the settings of a program, and it'd be handy there!
You have to make the private View colorView public and write something like
@OverRide
protected View onCreateDialogView() {
colorpicker.show();
View vl = (View) colorpicker.colorView.getParent();
ViewGroup vp = (ViewGroup) vl.getParent();
if(vp != null) vp.removeView(vl);
return vl;
}
I wish you luck!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions