PopupWindow

View popupwindwow;
PopupWindow mPopupWindow;
popupwindwow = getLayoutInflater().inflate(R.layout.boke_control, null);
mPopupWindow = new PopupWindow(popupwindwow, LayoutParams.FILL_PARENT,
LayoutParams.WRAP_CONTENT);
mPopupWindow.showAtLocation(findViewById(R.id.button),
Gravity.BOTTOM, 0, 0);

你可能感兴趣的:(popupwindwow)