久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

<i id='0EXRI'><tr id='0EXRI'><dt id='0EXRI'><q id='0EXRI'><span id='0EXRI'><b id='0EXRI'><form id='0EXRI'><ins id='0EXRI'></ins><ul id='0EXRI'></ul><sub id='0EXRI'></sub></form><legend id='0EXRI'></legend><bdo id='0EXRI'><pre id='0EXRI'><center id='0EXRI'></center></pre></bdo></b><th id='0EXRI'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='0EXRI'><tfoot id='0EXRI'></tfoot><dl id='0EXRI'><fieldset id='0EXRI'></fieldset></dl></div>

<small id='0EXRI'></small><noframes id='0EXRI'>

<legend id='0EXRI'><style id='0EXRI'><dir id='0EXRI'><q id='0EXRI'></q></dir></style></legend>

    1. <tfoot id='0EXRI'></tfoot>

        • <bdo id='0EXRI'></bdo><ul id='0EXRI'></ul>

        android中的警報(bào)對(duì)話框不應(yīng)關(guān)閉

        alert dialog in android should not dismiss(android中的警報(bào)對(duì)話框不應(yīng)關(guān)閉)
        • <tfoot id='SWkkk'></tfoot>

              <bdo id='SWkkk'></bdo><ul id='SWkkk'></ul>

                    <tbody id='SWkkk'></tbody>

                  <small id='SWkkk'></small><noframes id='SWkkk'>

                • <i id='SWkkk'><tr id='SWkkk'><dt id='SWkkk'><q id='SWkkk'><span id='SWkkk'><b id='SWkkk'><form id='SWkkk'><ins id='SWkkk'></ins><ul id='SWkkk'></ul><sub id='SWkkk'></sub></form><legend id='SWkkk'></legend><bdo id='SWkkk'><pre id='SWkkk'><center id='SWkkk'></center></pre></bdo></b><th id='SWkkk'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='SWkkk'><tfoot id='SWkkk'></tfoot><dl id='SWkkk'><fieldset id='SWkkk'></fieldset></dl></div>
                • <legend id='SWkkk'><style id='SWkkk'><dir id='SWkkk'><q id='SWkkk'></q></dir></style></legend>

                  本文介紹了android中的警報(bào)對(duì)話框不應(yīng)關(guān)閉的處理方法,對(duì)大家解決問(wèn)題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來(lái)一起學(xué)習(xí)吧!

                  問(wèn)題描述

                  我正在制作一個(gè)應(yīng)用程序,其中有一個(gè)警報(bào)對(duì)話框.

                  I am making an application and it has an Alert Dialog in it.

                  現(xiàn)在我正在檢查我在對(duì)話框正按鈕 OnClick 方法中從 AlertDialog editTexts 獲得的一些數(shù)據(jù),但如果我從 edittext 字段獲得的數(shù)據(jù)正確與否,對(duì)話框總是會(huì)關(guān)閉.

                  Now i am checking some data I got from AlertDialog editTexts in dialog Positive button OnClick method but the dialog always dismiss if data i got from edittext fields is correct or not.

                  我們?nèi)绾谓么斯δ?

                  更新:

                  我正在從對(duì)話框中獲取 Pin 碼和確認(rèn) Pin 碼,在 onPositive 單擊中我已檢查以驗(yàn)證 pin 碼.

                  I am gettin Pin Code and Confirm Pin Code from the Dialog Box and in onPositive click i have checked to verify the pin codes.

                  現(xiàn)在,如果 pin 碼匹配,則調(diào)用 dialog.dismiss(),如果不匹配,則顯示 Toast.

                  Now if the pin codes matches then it is calling dialog.dismiss() and if not matching then display a Toast.

                  但如果密碼不匹配,它會(huì)向我顯示消息并關(guān)閉對(duì)話框.

                  But in case of pin code not matched it displays me the message and dismiss the dialog.

                  我不希望這樣的事情發(fā)生.

                  I dont want that to be happen.

                  更多更新:

                  有什么方法可以禁用確定"按鈕,并在驗(yàn)證數(shù)據(jù)后啟用肯定按鈕?

                  is there any way that i will disable the OK Button and when data is verified it will enable the positive Button??

                  請(qǐng)幫忙

                  推薦答案

                  Cap.謝謝你的幫助.通過(guò)您的指南,我知道我可以禁用警報(bào)對(duì)話框按鈕.是的!可以禁用按鈕.

                  Cap. Thanks for your help. through your guides i have got to know that i can disable the Alert Dialog Button. YES! its possible to disable the buttons.

                  答案是:

                  我們可以使用以下方法禁用按鈕:

                  we can disable the button using:

                    Button pos =  Dialog.getButton(AlertDialog.BUTTON_POSITIVE).setEnabled(false);
                    pos.setEnabled(true);
                  

                  這篇關(guān)于android中的警報(bào)對(duì)話框不應(yīng)關(guān)閉的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內(nèi)容來(lái)源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問(wèn)題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請(qǐng)聯(lián)系我們刪除處理,感謝您的支持!

                  相關(guān)文檔推薦

                  Get user#39;s current location using GPS(使用 GPS 獲取用戶的當(dāng)前位置)
                  IllegalArgumentException thrown by requestLocationUpdate()(requestLocationUpdate() 拋出的 IllegalArgumentException)
                  How reliable is LocationManager#39;s getLastKnownLocation and how often is it updated?(LocationManager 的 getLastKnownLocation 有多可靠,多久更新一次?)
                  How to detect Location Provider ? GPS or Network Provider(如何檢測(cè)位置提供者?GPS 或網(wǎng)絡(luò)提供商)
                  Get current location during app launch(在應(yīng)用啟動(dòng)期間獲取當(dāng)前位置)
                  locationManager.getLastKnownLocation() return null(locationManager.getLastKnownLocation() 返回 null)
                      <tbody id='BLPrT'></tbody>

                    <small id='BLPrT'></small><noframes id='BLPrT'>

                      <bdo id='BLPrT'></bdo><ul id='BLPrT'></ul>

                        • <i id='BLPrT'><tr id='BLPrT'><dt id='BLPrT'><q id='BLPrT'><span id='BLPrT'><b id='BLPrT'><form id='BLPrT'><ins id='BLPrT'></ins><ul id='BLPrT'></ul><sub id='BLPrT'></sub></form><legend id='BLPrT'></legend><bdo id='BLPrT'><pre id='BLPrT'><center id='BLPrT'></center></pre></bdo></b><th id='BLPrT'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='BLPrT'><tfoot id='BLPrT'></tfoot><dl id='BLPrT'><fieldset id='BLPrT'></fieldset></dl></div>
                        • <legend id='BLPrT'><style id='BLPrT'><dir id='BLPrT'><q id='BLPrT'></q></dir></style></legend>
                          1. <tfoot id='BLPrT'></tfoot>

                          2. 主站蜘蛛池模板: 男女污污网站 | 成人av播放 | 亚洲欧美日韩在线一区二区 | 精精久久 | 免费在线成人 | 欧美一区二区二区 | 国产精品久久久久久久久久三级 | 成人精品一区二区三区 | 亚洲一区二区视频在线播放 | 亚洲高清av在线 | 欧美黄在线观看 | 亚洲成人毛片 | 国产精品久久视频 | 国产91在线播放精品91 | 在线免费观看黄色网址 | 黄a大片 | 一区二区三区av | 成人影视网址 | 亚洲一区精品在线 | 久操伊人| 欧美男人天堂 | 国产a区| 成人精品一区二区 | 狠狠亚洲 | 久久丝袜视频 | 国产在线精品一区二区三区 | 亚洲国产免费 | 中文字幕观看 | 日韩不卡一区二区 | 亚洲男人的天堂网站 | 日韩成人中文字幕 | 日本一区二区电影 | 久久久久久天堂 | 国产欧美精品一区二区 | 伊人久麻豆社区 | 免费黄色录像视频 | 日韩免费网站 | 国内精品久久久久久久 | 国产一区二区三区免费观看在线 | 日本三级播放 | 黄色网页在线观看 |