2015-12-03 popupWindowを画面中央に配置する時 android 以下のコードを参考 popupWindow.showAtLocation(anyViewOnlyNeededForWindowToken, Gravity.CENTER, 0, 0);