相关疑难解决方法(0)

Android弹出窗口全屏

我想为全屏创建一个popupwindow

我使用了以下内容:

LayoutInflater inflater = (LayoutInflater) MainActivity.this.getSystemService(Context.LAYOUT_INFLATER_SERVICE);

layoutt = inflater.inflate(R.layout.loginto,(ViewGroup) findViewById(R.id.window1));

pwindow = new PopupWindow(layoutt,LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT,true);
Run Code Online (Sandbox Code Playgroud)

这涵盖了操作栏,但不是全屏..

Api 11+也支持LayuotParams.WRAP_CONTENT.我需要解决方案从api级别8开始工作.

android popupwindow android-fullscreen

6
推荐指数
1
解决办法
2万
查看次数

标签 统计

android ×1

android-fullscreen ×1

popupwindow ×1