フルスクリーン用のポップアップウィンドウを作成したい
私は以下を使用しました:
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);
これはアクションバーをカバーしますが、フルスクリーンではありません..
また、 LayuotParams.WRAP_CONTENT は api 11+ でサポートされています。APIレベル8から機能するソリューションが必要です。