Android Fenêtre Pop-Up En Plein Écran

Je veux créer un popupwindow pour un affichage plein écran

j'ai utilisé le suivant :

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);

Ce couvre la barre d'action, mais pas la totalité de l'écran..

Aussi LayuotParams.WRAP_CONTENT est pris en charge par l'api 11+ . j'ai besoin de la solution de travail à partir de l'api de niveau 8.

OriginalL'auteur mkumar | 2014-06-28