Questions tagged [customdialog]

338 questions
6
votes
0 answers

Android: Custom dialog take too much time to open

I have custom dialog which shows listing, it's working but it's take too much time to open, I also tried to solve it using DialogFragment but it's shows as it is, so how can i solve it? please guys help to solve this problem! MyDialog.java try…
user5418227
6
votes
1 answer

Date picker inside custom dialog in Android

I wanted to use date picker inside my custom dialog. On button click calendar will open to choose date for user. I have Button inside my customDilaog class and on that button click I want to open calendar view. My app crashes if click this button. I…
Ashish Kudale
  • 1,230
  • 1
  • 27
  • 51
5
votes
2 answers

Making a custom dialog undismissable in android

I have a custom dialog which have 2 progress bars and a button on it. I am showing this dialog in onPreExecute ()of an AsyncTask and dissmissng it onPostExecute() the problem is that when ever i touch screen during the operation the dialog dissmiss.…
AddyProg
  • 2,960
  • 13
  • 59
  • 110
5
votes
1 answer

Margin attributes not working inside a custom DialogFragment

I have some EditTexts inside the layout I have defined for the view of a custom DialogFragment. I put margins to the right of them. But its not reflecting when the DialogFragment is rendered on the screen. login_dialog.xml
4
votes
1 answer

Custom dialog takes time to show up

When I implement a custom dialog by using AlertDialog.Builder or DialogFragment which has a fairly complex layout (like this one) the dialog takes time to show up. But when the dialog just contains a couple of editText or so... there is no issue in…
Shreemaan Abhishek
  • 1,134
  • 1
  • 7
  • 33
4
votes
5 answers

Android: EditText not updates when typing text

I have following in my app: layout/dialog_edit_group.xml:
newmindcore
  • 318
  • 3
  • 8
4
votes
2 answers

How to make Custom Dialog look like Alert Dialog?

I've created my own (custom) Dialog. But would like to have its style like original Alert Dialog. I.e. with dark title background and grey buttons background on the bottom. Is there any ready-for-use xml with the same? (so, I wouldn't worry about…
LA_
  • 19,823
  • 58
  • 172
  • 308
4
votes
2 answers

Remove Black background from Alert Dialog Box - Android

I am working on an Android Application , Here I have created a custom dialog box , The dialog box was appearing on complete height of the device , but I wanted to leave margins from top and bottom , so I set margin using below code …
4
votes
2 answers

How to set theme for indeterministic ProgressBar in ProgressDialog in Android

I have an Android (developed on A2.2) app with following theme defined:
Pavel P
  • 637
  • 1
  • 7
  • 21
4
votes
1 answer

Error in MediaRecorder.stop() method while recording an audio file

AddRecordingActivity.java when i clicked on stop recording button then an application is unfortunately stoped public class AddRecordingActivity extends Activity { Button btnHome, btnRemoveRecording; ImageView ivVideoRecord, ivAudioRecord,…
Shreeya Chhatrala
  • 1,441
  • 18
  • 33
4
votes
1 answer

Qt qml: Custom dialog not displayed on device, app crashes

I'm trying to display a custom QML dialog on a real Android device (samsung galaxy express) but it is not working and it is also making the app to stop running. However, when I run the app on the Qt creator environment everything works fine! The app…
PicciJr
  • 41
  • 3
4
votes
3 answers

Dialog box disappears during orientation change in fragment

So I am not a very experience Android programmer, so please be gentle with me :) I am trying to create an app that uses fragements and from within one of these fragments I am calling a custom dialog box. //create dialog final Dialog dialog = new…
jason.kaisersmith
  • 8,712
  • 3
  • 29
  • 51
4
votes
1 answer

Custom alert dialog

I want to build a custom alert dialog with a checkbox at the title field of the AlertDialog as shown below. What i have already have is this(check box is not visible, sorry for that): How to get the check box here at the title field.? Also on…
suresh cheemalamudi
  • 6,190
  • 11
  • 49
  • 67
3
votes
1 answer

Custom dialog background is acting very strange

I am creating a small game for Android. At the moment I'm just creating the UI for the menu screen. As I'm doing a wooden theme, I also want to use a custom dialog for showing highscores etc so it follows the theme. I have found some good guides,…
Knirkegaard
  • 273
  • 1
  • 4
  • 11
3
votes
2 answers

Custom AlertDialog Borders

I am creating a custom dialog. Its example code is: final AlertDialog dialog; protected AlertDialog createDialog(int dialogId) { AlertDialog.Builder builder; builder = new AlertDialog.Builder(parent); AlertDialog fDialog = null; …
Khawar Raza
  • 15,870
  • 24
  • 70
  • 127
1
2
3
22 23