Questions tagged [android-dialog]

Base class for Dialogs. A dialog in Android is a small window that prompts the user to make a decision or enter additional information. A dialog does not fill the screen and is normally used for modal events that require users to take an action before they can proceed.

A dialog is usually a small window that appears in front of the current Activity. The underlying Activity loses focus and the dialog accepts all user interaction. Dialogs are normally used for notifications that should interrupt the user and to perform short tasks that directly relate to the application in progress (such as a progress bar or a login prompt).

Official Android Dialog Documentation

1460 questions
-4
votes
1 answer

How to add check box to popup list

Actually I have list view, on touching list view I will get popup window of same list. Now I want to add check box. How can I add check box to below code. It would be great full if you help me along with modifying code. Activity: …
mallika
  • 1
  • 6
-4
votes
2 answers

How to show a "Loading..." dialog in android?

How to create a dialog to show loading in android? I want to show a dialog with "Loading..." while an aynctask i running. I tried with an activity with Theme.Dialog. Please help. my code: private class getlisttask extends AsyncTask
Electra
  • 3
  • 3
-6
votes
1 answer

How to make an dialog in android RecyclerView onClick adapter

I want to open a dialog in the onClick event of the items listed in a RecyclerView. This is the Activity code: public class EventPage extends AppCompatActivity { EventAdapter adapter; private RecyclerView recyclerView; ArrayList
-6
votes
5 answers

Alert dialog with button throws exception

I'm showing an alert dialog by doing: new AlertDialog.Builder(this) .setTitle(R.string.label_searching) .setMessage(R.string.label_search_noresults) .setCancelable(false) …
Ivan-Mark Debono
  • 15,500
  • 29
  • 132
  • 263
-6
votes
3 answers

Error while closing application with alert dialog

Logcat: 06-13 18:25:37.534: E/WindowManager(420): Activity com.dimensionsco.thankbunny.MainActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@43ef3c98 that was originally added here This is the code i was using to…
Nikesh Devaki
  • 2,091
  • 2
  • 16
  • 24
1 2 3
97
98