输入法dialog、window

来源:互联网 发布:mui.js下载 编辑:程序博客网 时间:2024/06/07 02:59
WindowManager.LayoutParams lps = getWindow().getWindow().getAttributes();lps.width = LayoutParams.FILL_PARENT;lps.height = LayoutParams.FILL_PARENT;getWindow().getWindow().setAttributes(lps);View tmp = getWindow().getWindow().getDecorView();tmp.setForeground(new ColorDrawable(Color.parseColor("#88ff0000")));

getWindow().setContentView(R.layout.no_result_view);

0 0
原创粉丝点击