dialog Questions

11

Solved

Part of my app requires location services, so if location is currently turned off, the app will prompt the user to enable it. Here is how I am doing it: (Also seen in this Stack Overflow answer) L...
Nikethamide asked 5/7, 2015 at 22:22

4

Solved

I have a dialog form and I want to have it closed gracefully when a user hits the escape key. When the user hits the escape key the form is shut down immediately but for some reason the dialog form...
Lozenge asked 24/8, 2019 at 13:3

4

Solved

It seems impossible to change the width of the dialog with Compose. The closest I've come to with changing the dialog width is through DialogProperties.usePlatformDefaultWidth. Setting it to false ...

34

I can create and display a custom alert dialog just fine but even so I have android:layout_width/height="fill_parent" in the dialog xml it is only as big as the contents. What I want is dialog tha...
Merryman asked 21/2, 2010 at 16:27

50

Solved

What is this error, and why does it happen? 05-17 18:24:57.069: ERROR/WindowManager(18850): Activity com.mypkg.myP has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@44c46ff0...
Damicke asked 17/5, 2010 at 15:51

1

Solved

AlertDialog in Android Api 29 used to dim the screen except for the dialog when it was shown, but in Api 34 instead it creates a shadow around the dialog. The AlertDialog in android used to dim the...
Kele asked 27/7, 2023 at 7:20

3

Solved

I'm staring at this page wondering which control is a textbox. Seems like it should be obvious, but I don't see it. http://wix.sourceforge.net/manual-wix2/wix_xsd_control.htm Also, is there a b...
Singularity asked 13/1, 2010 at 15:28

14

Solved

I am trying to prevent dialogs built with Alert builder from being dismissed when the Activity is restarted. If I overload the onConfigurationChanged method I can successfully do this and reset th...
Remorse asked 26/9, 2011 at 15:14

14

Solved

I am new to flutter, I want to dismiss my dialog after the task completion. I've tried with: Navigator.pop(context, true); But my screen is getting black and dialog is still up there. here is ...
Telfer asked 4/6, 2018 at 15:2

7

I did the factory reset, and my computer is newly installed. I enabled the USB debuging, and connect to the computer. It shows the drivers are installed successfully, and i can see so in the device...
Shaped asked 20/6, 2013 at 16:31

3

When using a <dialog> element with .show() it is positioned according to normal position etc. CSS properties. Is it possible to have that same positioning with .showModal()? Even when using d...
Cankerworm asked 2/10, 2022 at 10:56

9

Solved

In Flutter, I write a simple dialog for the loader during async task. When I touch outside dialog dismissed, How can I stop this behaviour? Code showDialog( context: context, builder: (_) => ...
Rottweiler asked 1/6, 2018 at 18:15

10

Solved

I am trying to make a edittext box in a dialog box for entering a password. and when I am doing I am not able to do. I am a beginner in it. Please help me in this. public class MainActivity extend...
Pentecost asked 14/9, 2013 at 6:57

3

Solved

I'm writing an app in Hebrew (which is rtl). when I set my title for the dialog fragment it appears on the left. I tried to make it display on right by doing: @Override public View onCreateView(La...
Dunston asked 6/5, 2012 at 11:43

13

Solved

I was going to use the following project: https://github.com/scottwis/OpenFileOrFolderDialog However, there's a problem: it uses the GetOpenFileName function and OPENFILENAME structure. OPENFILENAM...
Countess asked 24/7, 2012 at 4:43

10

Solved

How can I listen to a FINAL dismissal of a BottomSheetDialogFragment? I want to save user changes on the final dismissal only... I tried following: Method 1 This only fires, if the dialog is dis...

4

Solved

The <dialog> element is now cross-browser compatible (since March 2022). I tried my hand at it today and familiarised myself with: HTML <dialog> JavaScript .show() .showModal() .cl...
Morale asked 4/4, 2022 at 21:44

2

Solved

I'm trying to change the background color of a dialog element's backdrop using a custom CSS property but it won't take. Is this a bug in Chrome or is there a reason for this? document.querySele...
Bradshaw asked 12/11, 2019 at 12:1

7

This is code straight from MUI menu - customized menu.. I didn't want to put my code because there are some built in functions that make it more confusing. In my code (not this) I open a MUI Dialo...
Walkout asked 19/6, 2020 at 1:32

9

Solved

Can you please explain which activity life cycle method is called when a dialog comes on the application? I'm confused whether its is calling onResume() or onPause() method. Thanks
Austerity asked 17/3, 2016 at 5:12

3

I have a bunch of csv files from which I am writing data into a particular worksheet of an existing excel file. I have the below code and it works while looping through the CSV files and writing da...
Darmstadt asked 22/6, 2016 at 22:13

15

I have a dialogfragment for a floating dialog which includes a special keyboard that pops up when a user presses inside an EditText field (the normal IME is stopped from being displayed). I would ...
Candie asked 23/1, 2014 at 12:14

3

Solved

For a built-in dialog like QInputDialog, I've read that I can do this: text, ok = QtGui.QInputDialog.getText(self, 'Input Dialog', 'Enter your name:') How can I emulate this behavior using a dia...
Demagnetize asked 12/8, 2013 at 21:12

5

Solved

Getting the context inside onClick(View view), the callback for a button's onClickListener(), is easy: view.getContext() But I can't figure out how to get the context inside onClick(DialogInterf...
Flagitious asked 27/3, 2011 at 3:53

2

As I am aware, the showModal() method runs the following steps which end up focusing elements within an HTML dialog (emphasis mine) : Let subject be the dialog element on which the method was inv...
Tractable asked 5/8, 2020 at 14:40

© 2022 - 2025 — McMap. All rights reserved.