Layoutinflater = Layoutinflater.from (Mcontext);
Final Dialog Dialog = new Dialog (mcontext); View Popview = layoutinflater.inflate (R.layout.popupwindow, NULL);//Set Dialog No caption, This must be defined before setting the content dialog.requestwindowfeature (window.feature_no_title);d Ialog.setcontentview (Popview);// Set dialog no title, after which the definition will be error//dialog.requestwindowfeature (window.feature_no_title);d ialog.setcancelable (true); Viewfilpper = (viewflipper) Popview.findviewbyid (r.id.viewflipper); Viewfilpper.setinanimation ( Animationutils.loadanimation (Mcontext, r.anim.menu_in)); Viewfilpper.setoutanimation (Animationutils.loadanimation (Mcontext, r.anim.menu_out)); Viewfilpper.setflipinterval (60000); ImageView Imagview = (ImageView) Popview.findviewbyid (R.id.caihead); Imagview.setimagebitmap (List.get (m-1)); Button button = (button) Popview.findviewbyid (r.id.speed); button detail = (button) Popview.findviewbyid (r.id.deleat);d ialog.show ();
Android dialog Definition No title considerations