Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
46 views

I'm using this code: @Override protected void onResume() { super.onResume(); AlertDialog d = new AlertDialog.Builder(this) .setTitle("This is the Dialog Title") ...
A.G.'s user avatar
  • 2,217
1 vote
1 answer
79 views

I have an Android app with most of my logic written in C++ and Kotlin is used for UI or interacting with Android's SDK. When a non-recoverable error occurs, the preference is to display an alert ...
NightFuryLxD's user avatar
0 votes
2 answers
65 views

I have a method that works on an emulator in Android Studio but crashes on a physical device. I've tried it on two separate devices. It's not graphical, so it doesn't have to do with resolution. This ...
Dana Bell's user avatar
3 votes
1 answer
762 views

I'm following a Room tutorial for Kotlin and (at about 40 minutes) I get the following error: Below is my code (I checked it and it seems exactly how shown in the video) @Composable fun ...
genespos's user avatar
  • 3,321
0 votes
1 answer
41 views

Hello mates i was making instagram colon app with flutter and i wanted to making this pop up page but when i tried to make container size less than 100, it wasn't work and i couldn't find the way can ...
SungWoo Jo's user avatar
0 votes
1 answer
26 views

I recently migrated an AlertDialog to a MaterialAlertDialog (and improved the overall layout, e.g. using the native buttons instead of custom buttons in the custom view of the dialog.) Previously I ...
Sarah Multitasker's user avatar
1 vote
0 answers
35 views

I was just trying to migrate my application from a Realme to an Oppo and everything looked fine until I noticed the displayed dialogs were not centered. Here is the example (I will only talk about the ...
DeadFrancis's user avatar
0 votes
0 answers
114 views

Android application type Xamarin.Forms application Xamarin.Android application Affected platform version Android 14 Emulator (pixel 7 pro) enter image description here Un affected platforms tested ...
ManojSF3414's user avatar
0 votes
1 answer
32 views

I have an custom DialogFragment class ListWorkoutTypeDialog, which opens a dialog to delete or edit workout types for my gym app via an AlertDialog inside the class. The goal is to be able to change ...
jc22920's user avatar
  • 408
0 votes
1 answer
94 views

I am trying to implement a system where I use a date picker to alter a date, but I am doing it on an alertDialog, and when I change the value with the date picker, it does not change in the ...
pedro.curti's user avatar
0 votes
0 answers
28 views

When I call dialog.show() later, it appears very fast. Seems like Android UI uses some sort of cache. How to force Android create this cache in the background? dialogLaout.invalidate didn't help ...
Iaroslav Baranov's user avatar
0 votes
2 answers
12k views

So I know this is a problem other people have had but the all used the alert dialog in the same file. I try to open the alert dialog with "<DelteAlertDialog />" and have a ...
Hessel van Bakel's user avatar
0 votes
1 answer
79 views

I am creating a VPN Local Service on Android studio as my Thesis project for my university. Specifically, i have the main class on my Java File which is VPNLocalService extends Service, in that class ...
Jgianny's user avatar
0 votes
1 answer
84 views

I’m building an AlertDialog for when the user clicks the button but the fields are empty. Right now, the alert is showing, but I cannot interact with the buttons due to the HTML editor. Not sure if it ...
Marco Torres's user avatar
0 votes
1 answer
35 views

So I am currently writing an app which connects to a sensor module through Bluetooth and receives data in the form of a string. The data will contain a UID which will be compared to the key of ...
Danidu Jayathilaka's user avatar
0 votes
0 answers
42 views

My app (Java 11, minSDK 29, targetSDK 30) uses an AlertDialog to inform the user of what step of the startup process it's currently on, which includes showing the name of the file that's currently ...
Neph's user avatar
  • 2,013
5 votes
1 answer
3k views

If we have a customized AlertDialog containing some input field, selection of that component would prompt the IME virtual keyboard of the device to pop up. Now, if we dismiss the entire AlertDialog by ...
mindoverflow's user avatar
0 votes
1 answer
45 views

I'm using the following style for my custom AlertDialog. The specified font "myfont.tff" is applied on the AlertDialog title and buttons, but not on the AlertDialog message. What do I need ...
Eir's user avatar
  • 1,145
0 votes
1 answer
40 views

In Android game (written in Java) I have an activity that's calling service and service calls a manager that checks certain values. Activity code looks something like this: public void performACheck() ...
guest86's user avatar
  • 2,986
0 votes
1 answer
50 views

I have an AlertDialog that has a positive button (OK) and a cancel. When pressing OK, I have a process that should take around 10s to finish (downloading an image from a URL and then showing it on the ...
user avatar
0 votes
0 answers
152 views

I'm using the requestForLoadImage which is an ActivityForResultLauncher<Intent> built in MainActivity to get image from gallery. I've passed the requestForLoadImage to the productAlertDialog ...
Ali Saadati's user avatar
0 votes
1 answer
4k views

I have created a Row inside a Row, the dimensions specified for padding for inner row should be followed as specified. So, I want to put two images inside the inner Row with one image at the Start of ...
Tejas Khartude's user avatar
-1 votes
1 answer
30 views

My app displays dialogs, warning the user of various situations and requiring user input. These dialogs were all working fine, but now they are no longer displaying; after upgrading from Android ...
Chet's user avatar
  • 1
6 votes
1 answer
580 views

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 ...
nithin_sikinam's user avatar
0 votes
1 answer
363 views

I'm trying to make a recipe app for practice that saves Recipes and Ingredients in a ROOM database. The recipes are shown in the main screen, and there is a FloatingActionButton that lets you add a ...
bmartin042503's user avatar

1
2 3 4 5
115