A subclass of Dialog that can display one, two or three buttons. If you only want to display a String in this dialog box, use the setMessage() method.
3
votes
0answers
216 views
How to set/clear multichoice items in alert dialog with custom buttons?
I make a little android app. In it I need an AlertDialog with multichoice.
But I need custom buttons(when button is clicked, it hides, and we can see another button at this place). I got it.
But when ...
2
votes
0answers
341 views
Android monkeyrunner test calls onClick handler twice
I am experiencing funny behavior of monkeyrunner. When app shows AlertDialog with two buttons, my onClick handler sometimes called twice. This does not happen when I press the button manually, only ...
1
vote
0answers
33 views
Android AlertDialog onClick not called
I have a strange problem in my app.
Let me explain...
I have a ListView which displays several items.
When I click on of these items the I display an alertDialog with a yes and no button.
The alert ...
1
vote
0answers
8 views
SoftKeyboard not opening for edit text in alert dialog
I have an alert dialog having the custom list view whose each item has a Edit text. When i click on any of the edit text the keyboard is not opening.
1
vote
0answers
422 views
AlertDialog styling - how to change style (color) of title, message, etc
I've breaking my head over this quite a bit. What I need to do is, change the style of all AlertDialogs in my android application - dialog background needs to be white-ish, and text needs to be ...
1
vote
0answers
127 views
How set the font size on all android alert dialogs, from phonegap
I'm having some difficulty with Android. Recently i created an app in phonegap, and launched it on the devices. It works, but on low resolutions the alert dialog text becomes on two rows.
And i would ...
1
vote
0answers
160 views
Getting a MapFragment to work in an AlertDialog
Okay... first things first... I want to get a MapFragment displayed inside an AlertDialog.
I ended up asking this after reading the following questions [observations between brackets are my results, ...
1
vote
0answers
112 views
Show dialog while using Android Annotation
In my Activity called TestAPIActivity_, there's a click event to display a dialog:
@Click(R.id.test_account_edit_avatar_btn)
void editAvatar() {
pickDialog = ...
1
vote
0answers
152 views
How to create dialog with EditText and DatePicker
I'm trying to make a Dialog with EditText and a DatePicker.
Unfortunately, I can't customize the DatePickerDialog and the XML DatePicker is horrible (it shows a little calendar and I don't need it).
...
1
vote
0answers
160 views
Changing AlertDialog text color and size on older Android version (2.3.3)
I am developing small Android application, in which I want to customize AlertDialog. For that I created my style for AlertDialog in following way:
<style name="MyTheme" ...
1
vote
0answers
76 views
Accessing elements inside dialog in fragments
I want to access my spinner element which i have placed inside dialog in my fragment .
But the application crashes and causes null pointer exception whenever the button is clicked. I want to access ...
1
vote
0answers
405 views
Presentation class in Jelly Bean Plus is not intercepting onTouchEvent
I am developing an android application, which displays some unique content on secondary display.
Presentation class is newly introduced in Jelly Bean Plus(4.2.1).
It is a special kind of dialog whose ...
1
vote
0answers
52 views
How To Show AlertDialog When the incoming Sms Having messageContent.equals(“Call”)
Developing an Application using Broadcast Receivers.When the incoming Message contains call immediately show an Alert without Any Activity that Alert shows the phone Number and the Message content and ...
1
vote
0answers
256 views
Override color in Android style
I know that with the color generators I can generate styling for most UI elements. Also using the action bar color generator I can create colors for most (if not all) action bar elements.
But for ...
1
vote
0answers
300 views
AlertDialog query regarding DialogInterface.OnClickListener - Android
I am populating my AlertDialog with entries from a SharedPreferences file.
There are 8 entries. In the SharePreferences file they were entered as ("serverurl", London, UK).
The AlertDialog displays ...