Pregunta

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()
¿Fue útil?

Solución

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top