底部漸入的Dialog,並伴有黑色遮罩層

原理很簡單,就是經過AlertDialog獲取Window,設置Window的顯示位置和動畫就能夠輕鬆實現,直接上代碼了:android LayoutInflater inflater =this.getLayoutInflater(); View v = inflater.inflate(R.layout.s, (ViewGroup)findViewById(R.id.customDialog)
相關文章
相關標籤/搜索