popupwindow 设置图片度

直接设置pupupwindow 所引用的view的透明度便可spa

            如 get

                       LayoutInflater layoutInflater = (LayoutInflater) getSystemService(Context.LAYOUT_INFLATER_SERVICE);it

popupMoreMenuView = layoutInflater.inflate(R.layout.test);test

popupMoreMenuWindow = new PopupWindow(popupMoreMenuView,引用

LinearLayout.LayoutParams.WRAP_CONTENT,layout

LinearLayout.LayoutParams.WRAP_CONTENT);view

popupMoreMenuView.setAlpha(0.9f);//90%透明度vi

相关文章
相关标签/搜索