底部渐入的Dialog,并伴有黑色遮罩层

原理很简单,就是经过AlertDialog获取Window,设置Window的显示位置和动画就能够轻松实现,直接上代码了:android LayoutInflater inflater =this.getLayoutInflater(); View v = inflater.inflate(R.layout.s, (ViewGroup)findViewById(R.id.customDialog)
相关文章
相关标签/搜索