Questions tagged as 'alertdialog'

1
answer

Close AlertDialog

I open the dialog and you can see that I send a call to take a photo or to select it from the gallery. The problem is that once the photo is uploaded the AlertDialog is still open, of course you can add a button like cancel with a simple dism...
asked by 12.01.2018 / 08:31
1
answer

Save selected options in SharePreferences of an AlertDialog Multichoice

Good afternoon I have an AlertDialog in the Multichoice actionbar, which I fill from a webservices. I need that when the user selects one or x options and clicks on ok, those options are saved in the Sharepreferences of the system, so when...
asked by 08.06.2016 / 19:40
1
answer

How do I create this type of AlertDialog on android?

I am new to Android programming and I would like to know how to create these types of alerts with the title in blue plus the line of underline since those that I have tried make them different to this style.     
asked by 05.09.2018 / 23:07
0
answers

I am trying to put one listView inside another, or that it comes out in an AlertDialog

The thing is that I'm trying to make an application that asks some questions, and you have to answer, the answers are of two types "yes and no" and "1,2,3,4,5" What I do not know very well is how to focus it, a listview within another wou...
asked by 03.08.2018 / 13:13
2
answers

How to show a dialog with check predefined markings?

Good morning, I have the following Dialog with Multiple Checkboxes Selection List, How can I make it so that when I call the Dialogue, I show myself with check some items? for example, if I want to load with check item 5 and item 9, how can I do...
asked by 14.05.2018 / 18:38
1
answer

get the time and minutes of a TimePickerDialog on frgaments android

Does anyone know how to get the Time and the minute of a TimePickerDialog? I have two buttons in a fragment, one that triggers a DataPickerDialog from which I get the date very well and a button that launches a TimePickerDialog but gives me an e...
asked by 23.02.2018 / 05:34
1
answer

Problem with updating ListView Android

I ask for help I have searched but I have not found what I am doing wrong so that I do not update the listview, after having modified the table with an Alertdialog I would appreciate any help. public class Pedidos extends Activity implements A...
asked by 16.02.2018 / 14:59
2
answers

How do I open another dialogue from a setPositiveButton?

I want this dialogue when you choose the items, and give you to share, send it to another confirmation dialog, so that it shows a toast with the selected elements. This part works well: AlertDialog.Builder builder = new AlertDialog.Builder...
asked by 20.11.2017 / 21:56
0
answers

Load data to a spinner of a fragment in a dialog

I have not been able to load the data I have in an array (string) to a spinner that is in a fragment which is shown when I touch a certain button. Button code in the activity AlertDialog.Builder builder = new AlertDialog.Builder(this);...
asked by 01.07.2017 / 01:12
0
answers

WebView on AlertDialog

Good morning everyone: I am trying to place a WebView in an AlertDialog which I want to show a shared Google Drive Document, of which I know its public URL. When I indicate a URL (eg google.com), the WebView is displayed correctly, but when I...
asked by 06.06.2017 / 17:18