colorpicker icon indicating copy to clipboard operation
colorpicker copied to clipboard

Set button alongside to setOnFastChooseColorListener

Open B8ightY opened this issue 4 years ago • 1 comments

Is it possible to add button on dialog when using setOnFastChooseColorListener? Any tries ended unsuccessful. Thank you

B8ightY avatar Oct 19 '19 10:10 B8ightY

I got this working by getting the buttons_layout view and changing the visibility to visible: colorPicker.getDialogViewLayout().findViewById(R.id.buttons_layout).setVisibility(View.VISIBLE);

Improvement suggestion for OnFastChooseColorListener: Only disable default buttons and keep buttons_layout view still visible to make custom OnButtonListener possible.

JuliusHenke avatar Sep 26 '20 11:09 JuliusHenke