ColorDialog
ColorDialog copied to clipboard
:tada: ColorDialog & PromptDialog
If there is no image provided in **ColorDialog**, Cancel button is not aligned properly : ``` ColorDialog dialog = new ColorDialog(this); dialog.setTitle(getString(R.string.operation)); dialog.setAnimationEnable(true); dialog.setAnimationIn(getInAnimationTest(this)); dialog.setAnimationOut(getOutAnimationTest(this)); // dialog.setContentImage(getResources().getDrawable(R.mipmap.sample_img)); //REMOVED IMAGE dialog.setPositiveListener(getString(R.string.delete),...
In colorDialog Layout: Setting layout_height to "match_parent" solves the issue. See below. 
Added a Edit Text Option to the prompt Dialog. Sample code to add Edit text; ``` new PromptDialog(this) .setDialogType(PromptDialog.DIALOG_TYPE_EDIT) .setAnimationEnable(true) .setTitleText("EDIT") .setContentText("Sub Title") .setEditTextHint("Enter Text") .setPositiveListener(getString(R.string.edit), new PromptDialog.OnPositiveListener() { @Override...
Can you please update the lib to support androidX version of the support library. Thanks
new PromptDialog(this) .setDialogType(PromptDialog.DIALOG_TYPE_WARNING) .setCancelable(false) .setTitleText("Alert") // Shows error ...why? .setContentText("Are you there") .setPositiveListener("YES", new PromptDialog.OnPositiveListener() { @Override public void onClick(PromptDialog dialog) { dialog.dismiss(); } }).show();
There is a way to centralize text inside the dialog?
Please add NegativeListener also for PromptDialog.
Any ideas why I can't do this? The app does not crash but I get a leak message in logcat after the finish: ``` new PromptDialog(this) .setDialogType(PromptDialog.DIALOG_TYPE_WARNING) .setCancelable(false) .setTitleText("Alert") //...
When u change window orientation, you must set the "setAnimationEnable(false)" to prevent window leaking... that's little bit anoying `pubic void onPause() { dialog.setAnimationEnabled(false); dialog.dismiss(); }` but otherwise a nice job...