标签:style c ext color width get
// popupWindow自适应大小 popupWindow = new PopupWindow(view, LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT); // 设置PopupWindow的大小(宽度和高度) // 高度和宽度为屏幕的比例 popupWindow.setWidth(display.getWidth() * 9 / 10); popupWindow.setHeight(display.getHeight() * 9 / 10); popupWindow.setBackgroundDrawable(getResources().getDrawable( R.drawable.pop_bg));
popupWindow自适应大小,布布扣,bubuko.com
标签:style c ext color width get
原文地址:http://www.cnblogs.com/zmc/p/3725086.html