朋友, 我米相當新的基本問題,很抱歉,但尋找了幾個小時之後,我放棄了。 如何添加第二個EditText到我的AlertDialog?它只顯示一個Edittext與兩個按鈕。 第二個EditText根本不顯示。 繼承人我的代碼, final AlertDialog.Builder alert = new AlertDialog.Builder(ctx);
final EditText inputs
我在我的應用程序上有一個小問題AlertDialog。我正在顯示AlertDialog,因此用戶可以更改他剛按下的按鈕的文本。當我第一次這樣做的時候沒有問題,但是如果我再次按下按鈕,我的應用程序會在標題中出現Exception異常。下面是我使用的代碼: public void createDialog(){
new AlertDialog.Builder(Settings.this)