android-alertdialog
Android KeyBoard doesn't show in AlertDialog
I have tried so many ways but I just can\'t get the display any Keyboard in my activity. Keyboard just doesn\'t show!!! I have button in my activity that when clicked calls the method below which crea[详细]
2023-04-02 03:56 分类:问答How can I rotate my custom AlertDialog permanently?
I have a custom dialog. I use the following code to create it in \"onCreateDialog\" method: Builder builder = new AlertDialog.Builder(new ContextThemeWrapper(this,[详细]
2023-04-01 18:19 分类:问答AlertDialog is not created even though I invoke onCreateDialog on Android
I am facing the following problem. I have an image Gallery and I want to open an AlertDialog to display some information regarding to the clicked image. The first time I click on the image, it runs j[详细]
2023-04-01 08:10 分类:问答Transparent Background and No Buttons When Customizing Content of an AlertDialog on onPrepareDialog on Android
I am having some difficulties to update the content of an AlertDialog on the onPrepareDialog method. I am setting the content of the AlertDialog, but the dialog comes to the screen with no buttons an[详细]
2023-04-01 03:47 分类:问答AlertDialog sends no callback when created
I have this simple code: AlertDialog dialog = new AlertDialog.Builder(this).create(); dialog.setTitle (\"Alert title\");[详细]
2023-03-31 22:35 分类:问答softkeyboard moves all layout up
When AlertDialog with EditText is showing, softkeyboard moves up layout of activity. This happens when i use trackball and all subsequent attempts after using trackball. when i call dialog in touch mo[详细]
2023-03-31 17:26 分类:问答Android Dialog cannot 'see' final / global variable
I have an AlertDialog, which for some strange reason cannot access a final int deptID. When passing the value to the ConfirmRemoval-function, the value is correct, but when I enter the dialog\'s onCli[详细]
2023-03-31 13:52 分类:问答How to get the checked items from a multi choice item in a Alert.Builder?
Is there a way to get some infomation about the checked items in the next Alert.Builder? I need to save some booleans in SharedPreferences when somebody cl开发者_StackOverflow中文版icked the positive[详细]
2023-03-31 02:08 分类:问答showDialog() managing two consecutive dialogs, rotation event and screen saver / HOME button
Has anyone managed to make dialogs which can handle all of the following requirements: Be preserved during rotation changes (the android:configChanges attribute will not be used)[详细]
2023-03-30 22:00 分类:问答Disabling the back button with an alertbox?
I have an alert box for a log in and when ever the back button is pressed the alert box disappears. I\'ve tried @Override[详细]
2023-03-30 09:40 分类:问答