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
0
votes
1 answer

How to Override PackageInstaller Dialogs?

I am trying to update my application from a URL because i am distributing my application through a server and not posting the application in the android market . i am successful in updating the application. But i do not want the dialog that…
vivek
  • 45
  • 10
0
votes
2 answers

Sequentially show multiple dialogs?

I'm new to Android and I'm programing an application with multiple user interfaces(windows). I find it a little hard to define new activity for each window so I end up with using Dialogs more than activity. But there is a scenario where I need to…
aladein
  • 125
  • 3
  • 12
0
votes
2 answers

Set multiple buttons in dialog

I followed a tutorial to add buttons to a dialog, sorry, forgot the link, here is my code to display a dialog: final Dialog dialog = new…
Alexandre Hitchcox
  • 2,704
  • 5
  • 22
  • 33
0
votes
1 answer

How to call findPreference from the main activity, dialog's onClick function?

I have the following dialog in main activity: @Override protected Dialog onCreateDialog(int id) { final Dialog dialog; switch(id) { case DIALOG_NAME: builderDialog.setMessage(getString(R.string.dialog_text)) …
LA_
  • 19,823
  • 58
  • 172
  • 308
0
votes
3 answers

android create a popup screen for showing help on a page that extends view

I am creating an application which using custom view and i have designed the layout using a class that extends view. Now i have a help icon on that view which have to popup on click.I have tried dialog window but i need a window without title and…
i leaf
  • 273
  • 7
  • 19
0
votes
1 answer

Android, Make dynamically generated table rows clickable

I am trying to show a dialog on the click of my table row.My table rows are dynamically generated, having 3 columns.1 ImageView and 2 TextViews. My table rows are generated by this loop for (i = 0; i < name.length; i++) { tr = new…
0
votes
3 answers

how to create a dynamic Message dialog and how to apply over a picture

My question is how to crate a message dialog which is look like given picture i want to apply this message dialog in bitmap picture
Ashish Dwivedi
  • 8,048
  • 5
  • 58
  • 78
0
votes
1 answer

android number format exception

I get the following exception java.lang.NumberFormatException: Invalid int: "" It is happening when you try to store a value into shared preferences whilst nothing has been inserted into the input field. This is because i am parsing the input as…
Tuffy G
  • 1,521
  • 8
  • 31
  • 42
0
votes
2 answers

Calling a Dialog from a Dialog

I am trying to complete my login dialog in my application and I have problems with handling my dialogs. I have three dialogs, first an AlertDialog as a login dialog, second a progressDialog and an alertDialog which displays an error message. Here…
htz
  • 1,037
  • 1
  • 13
  • 37
0
votes
1 answer

Android: Is not showing ProgressDialog

I have AsynTask and show progress dialoge while it is running. Phone receive incoming call. After call stopped the progress dialoge is not showing but the activity layout is dim in such way if the dialoge is showing. Has you any ideas? I have…
-1
votes
3 answers

"when I start an Intent, Android pops up a "Complete Action Using" dialog."

Can anyone provide an example with source code for: "when I start an Intent, Android pops up a "Complete Action Using" dialog."
user1233171
  • 371
  • 1
  • 5
  • 9
-1
votes
2 answers

Why did Google deprecate ProgressDialog class?

While browsing to find an alternative to PrgressDialog class I found this article and the writer mentioned this: As we know Progress Dialog is depreciated in API level 26 because It prevents the user to interact with the app. Let me explain to you…
Taha Sami
  • 1,565
  • 1
  • 16
  • 43
-1
votes
1 answer

How to add gif icon to Progress Dialog setIcon using Glide?

I'm trying to add gif icon to Progress dialog setIcon using Glide. But getting error not able resolve. This is my code. private ProgressDialog pDialog; pDialog = new…
-1
votes
5 answers

App crashes during initialization because of opened dialog

This crash has been showing up in my developer console for a long time and I have not been able to reproduce it in any way. I have an app that starts with MainActivity. In onCreate, some data is downloaded asynchronously from the backend. When…
-1
votes
1 answer

How Sign out from firebase with dialog

I am trying to signout user from my app. What can i do so far ? I am able to sign out the user on a button click What i want ? When the user press the sign out button i want to pop up dialog which ask user if he is sure about it ,then from the…
Abhinav Chauhan
  • 1,304
  • 1
  • 7
  • 24