共用方式為


View.NotFocusable Field

Definition

Caution

This constant will be removed in the future version. Use Android.Views.ViewFocusability enum directly instead of this field.

This view does not want keystrokes.

[Android.Runtime.Register("NOT_FOCUSABLE", ApiSince=26)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.ViewFocusability enum directly instead of this field.", true)]
public const Android.Views.ViewFocusability NotFocusable = 0;
[<Android.Runtime.Register("NOT_FOCUSABLE", ApiSince=26)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.ViewFocusability enum directly instead of this field.", true)>]
val mutable NotFocusable : Android.Views.ViewFocusability

Field Value

Value = 0
Attributes

Remarks

This view does not want keystrokes.

Use with #setFocusable(int) and <c>android:focusable</c>.

Java documentation for android.view.View.NOT_FOCUSABLE.

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