Question

i want to show dialog (not alert dialog) but i don't want dialog show modal.

How to set dialog to show modal or not?

this is my code

Dialog dialog = new Dialog(CategoryList.this);
dialog.requestWindowFeature(Window.FEATURE_NO_TITLE);
dialog.setContentView(actionview);
dialog.show()
Was it helpful?

Solution

you can use PopupWindow instead, and setOutsideTouchable(true). or try this

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top