Android中的對話框

對話框使用流程 Step 1:建立AlertDialog.Builder對象; Step 2:調用setIcon()設置圖標,setTitle()或setCustomTitle()設置標題; Step 3:設置對話框的內容:setMessage()還有其餘方法來指定顯示的內容; Step 4:調用setPositive/Negative/NeutralButton()設置:
相關文章
相關標籤/搜索