LayoutInflater inflater = (LayoutInflater) MainFragment02Activity.this.getSherlockActivity().getSystemService(Context.LAYOUT_INFLATER_SERVICE);
View layout = inflater.inflate(R.layout.bettery_pop,
(ViewGroup)getSherlockActivity().findViewById(R.id.popup_element));
pwindo = new PopupWindow(layout, WindowManager.LayoutParams.WRAP_CONTENT, WindowManager.LayoutParams.WRAP_CONTENT, false);
pwindo.showAtLocation(linear, Gravity.CENTER, 0, 0);
btnCheckPopup = (Button) layout.findViewById(R.id.bettery_check_pop);
btnCheckPopup.setOnClickListener(check_button_click_listener);
btnClosePopup = (ImageButton) layout.findViewById(R.id.bettery_close_pop);
btnClosePopup.setOnClickListener(cancel_button_click_listener);
pwindo.setOutsideTouchable(true);
FrameLayout fl_main = (FrameLayout)getSherlockActivity().findViewById(R.id.fl_main_frag02);
fl_main.getForeground().setAlpha(220);
네 안드로이드에서 팝업창을 하나 만들었습니다
------------------------------------|
| |---------------| |
| | | |
| | | |
| |---------------| |
| |
______________________
저기서 가운데가 팝업이라했을때 가운데를 제외한 나머지부분은 터치를 해도 아무 반응없게 하려는데 좋은 방법있을까요?