0
A
回答
0
... somewhere in activity....
private String myValue = "hello :)";
... somewhere in activity when you show dialog...
final View customView = getLayoutInflater().inflate(R.layout.custom, null);
final EditText editTxt = customView.findViewById(R.id.edittext_in_custom_view);
editText.setText(myValue);
new AlertDialog.Builder(this).setView(customView).create().show();
....
相關問題
- 1. 在android中定製進度對話框?
- 2. 定製警告對話框中的Android
- 3. Android的密切定製對話框
- 4. 定製對話框中的Android
- 5. 在定製的Android對話框
- 6. 的Android定製對話框的ImageButton onclicklistener
- 7. android自定義對話框
- 8. Android自定義對話框
- 9. Android自定義對話框
- 10. 自定義對話框Android
- 11. 從定製對話框
- 12. 定製對話框例外
- 13. 定製對話框onClickListener
- 14. 定製對話框崩潰?
- 15. JQuery對話框定製
- 16. 定製確認對話框
- 17. 從定製MD-對話框
- 18. 定製wxpython對話框
- 19. 定製對話框片段
- 20. 定製jQuery UI對話框
- 21. 的Android定製對話框的LinearLayout大小相同的對話框BG圖像
- 22. 的Android定製對話框不能填滿整個對話框佈局
- 23. Android對話框
- 24. Android對話框
- 25. 有對話框的Android對話框
- 26. 取代facebook對話框中的自定義對話框在android
- 27. Android:自定義提醒對話框出現在DEFULT對話框
- 28. 的Android定製對話框中顯示的Android標題欄
- 29. Android:強制重新創建對話框
- 30. 如何製作android對話框模式?
顯示你目前擁有的代碼(如果您創建對話框) – 2011-01-20 11:51:07