Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void callPopupCreateQCM(View view) {
- LayoutInflater inflater = (LayoutInflater)
- getSystemService(LAYOUT_INFLATER_SERVICE);
- popupView = inflater.inflate(R.layout.popup_create_qcm, null);
- int width = LinearLayout.LayoutParams.WRAP_CONTENT;
- int height = LinearLayout.LayoutParams.WRAP_CONTENT;
- boolean focusable = true;
- final PopupWindow popupWindow = new PopupWindow(popupView, width, height, focusable);
- popupWindow.showAtLocation(view, Gravity.CENTER, 0, 0);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement