Questions tagged [customdialog]
338 questions
3
votes
0 answers
Adding PendingIntent onClick to Custom Dialog
I'm a copy and paste coder, this may be really silly...
I have a custom dialog that comes up after my widget is clicked:
public class ClockHandler extends Activity {
final Context context = this;
public void onCreate(Bundle…

TryTryAgain
- 7,632
- 11
- 46
- 82
2
votes
2 answers
How do i implement a cancel-button in a Custom Dialog without AlertDialog?
i know, similar questions have been asked, and i've already looked through everything i could find, but i didn't find any answer to this problem.
Here's the Code:
protected Dialog onCreateDialog(int id)
{
Dialog dialog = new…

Michi
- 681
- 1
- 7
- 25
2
votes
1 answer
Last finished activity re-opening from recent tasks in (Push Notification) Android
My push notification has text containing more than 3 lines. So, in pending intent I am passing CustomDialogActivity. On click of push notification a CustomDialogActivity is opened and on OK press ,I am finishing the CustomDialogActivity.
Case 1:…

Umesh Maurya
- 29
- 6
2
votes
2 answers
What is the best way to implement two custom dialogs, one after the other?
through the help of various tutorials, I've managed to write a custom dialog that displays a listview populated by records from a local database. I have set click listeners and figured out how to retrieve the record at the listview item clicked by…

8oh8
- 1,247
- 5
- 19
- 35
2
votes
3 answers
Why I am not able to see proper custom dialog Box in Motorola Atrix Emulator?
I have created Custom Dialog for my application.
While i run that application in normal Samsung Galary Ace then it shows proper in that device but while i am going to run that app in Motorola Atrix then the Custom Dialog Box not seen proper with the…

Shreyash Mahajan
- 23,386
- 35
- 116
- 188
2
votes
1 answer
Android, How can I change the color of header in my Custom dialog?
I read Custom dialog on Android: How can I center its title? but android doesn't know parent="@android:style/DialogWindowTitle.
I changed dialog style to: