dialog tag

23 questions


1 answers
65 views
0
Is there a way to access objects in Dialog in MainActivity?

For example, in MainActivity, use Button to float a single Dialog.case R.id.txtCalibMain: SubMenu_Calib mCalibDialog = new SubMenu_Calib(instance); mCalibDialog.show(); break;Like this, but before the...

2 years ago

1 answers
117 views
0
How do I print Yes and No in the dialog box on Android?

AlertDialog when making a dialog.I know you're using Builder, but I think it's better to use a dialog on AndroidIt's too hard.if (MessageBox.Show(Sure?, , MessageBoxButtons.YesNo) == DialogResult.Yes)...

2 years ago

1 answers
118 views
0
Can I make Dialog without a title on Android?

On Android dialog = new Dialog(this);dialog.setContentView(R.layout.my_dialog);I'm going to make a custom dialog like this. It works well except for the title being printed out. Even if you take out t...


1 answers
135 views
0
I want to make the background of the dialog transparent on Android

I'd like to make the black background painted with arrows transparent in this picture What should I do?final Dialog dialog = new Dialog(Screen1.this);dialog.requestWindowFeature(Window.FEATURE_NO_TITL...

2 years ago

2 answers
92 views
0
This is a custom dialog question for Android 6.0.

I made a custom dialog including EditText as below.The problem is that it works well on Android version 5.x.x, but 6.x.From x and above The Cancel and OK buttons do not work. In addition, the dialog d...

2 years ago

1 answers
119 views
0
Can't you make me turn off the activity when I press OK in the dialog?

When the user checks the dialog with Do you want to close the application?I want to end the activity, but I don't know how to end it. Please let me know.


1 answers
107 views
0
Apply Custom Drawable to ProgressBar/Progress Dialog

After reading a few documents circulating on Google, I found that it was easy to change the shape of the ProgressBar/ProgressDialog by simply creating a new style and placing it in the style attribute...


1 answers
111 views
0
How to add a button to the Android Alert Dialog

I made AlertDialog using a builder for the activity, but I want to put a button in itOkay, or whatever, you do something when the button is pressed Not the yes or no button by default. How can we do t...


1 answers
75 views
0
I want to display a dialog so that the activity ends if the user agrees.

When the user presses the back button, the user displays a dialog saying Do you want to end? and checks it I'd like to end the activity. The only thing I know about is Activity.onUserLeaveHint(). What...

2 years ago

1 answers
94 views
0
How do I display Android dialog-type activities?

There's an activity called whereActivity. I put in a dialog as child. I want to show this activity as a dialog for another activity. What should I do?

« - 2 - »

© 2024 OneMinuteCode. All rights reserved.