Example usage for android.widget PopupWindow setIgnoreCheekPress

List of usage examples for android.widget PopupWindow setIgnoreCheekPress

Introduction

In this page you can find the example usage for android.widget PopupWindow setIgnoreCheekPress.

Prototype

public void setIgnoreCheekPress() 

Source Link

Document

Set the flag on popup to ignore cheek press events; by default this flag is set to false which means the popup will not ignore cheek press dispatch events.

Usage

From source file:com.roamprocess1.roaming4world.ui.messages.MessageActivity.java

private void commonPopupWindowDisplay(PopupWindow popupWindow, View tabMenu, int x, int y) {
    popupWindow.setFocusable(true);//from  w  w w.  j  a  v a2 s  .c o m
    popupWindow.setBackgroundDrawable(new BitmapDrawable());
    popupWindow.setIgnoreCheekPress();
    popupWindow.setOutsideTouchable(true);
    popupWindow.showAsDropDown(tabMenu, x, y);

}