共用方式為


PopupWindow.SetIgnoreCheekPress Method

Definition

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.

[Android.Runtime.Register("setIgnoreCheekPress", "()V", "GetSetIgnoreCheekPressHandler")]
public virtual void SetIgnoreCheekPress ();
[<Android.Runtime.Register("setIgnoreCheekPress", "()V", "GetSetIgnoreCheekPressHandler")>]
abstract member SetIgnoreCheekPress : unit -> unit
override this.SetIgnoreCheekPress : unit -> unit
Attributes

Remarks

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.

If the popup is showing, calling this method will take effect only the next time the popup is shown or through a manual call to one of the #update() methods.

Java documentation for android.widget.PopupWindow.setIgnoreCheekPress().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also