常用代碼整理:Android 常用彈窗整理

說明:大部分內容都是參考別的文章,這裏做整理是爲了以後的編程有實用的模板,可以即需即用。 一、自定義 UI 的 Dialog 代碼: private void showDialog() { final Dialog dialog = new Dialog(this, R.style.NormalDialogStyle); View view = View.inflate(this, R.lay
相關文章
相關標籤/搜索