Language

KeyboardView Constructors

Definition

Overloads

Name Description
KeyboardView(Context, IAttributeSet)

Initializes the keyboard view with the default keyboard-view style attribute.

KeyboardView(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

KeyboardView(Context, IAttributeSet, Int32)

Initializes the keyboard view with the specified style attribute and a default style resource ID of zero.

KeyboardView(Context, IAttributeSet, Int32, Int32)

Initializes the keyboard view and resolves its styles using the supplied context and attributes.

KeyboardView(Context, IAttributeSet)

Initializes the keyboard view with the default keyboard-view style attribute.

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")]
public KeyboardView(Android.Content.Context? context, Android.Util.IAttributeSet? attrs);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")>]
new Android.InputMethodServices.KeyboardView : Android.Content.Context * Android.Util.IAttributeSet -> Android.InputMethodServices.KeyboardView

Parameters

context
Context

The context used to resolve resources and the view's theme.

attrs
IAttributeSet

The attributes supplied for style resolution, or null if none are supplied.

Attributes

Remarks

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

KeyboardView(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected KeyboardView(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.InputMethodServices.KeyboardView : nativeint * Android.Runtime.JniHandleOwnership -> Android.InputMethodServices.KeyboardView

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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

KeyboardView(Context, IAttributeSet, Int32)

Initializes the keyboard view with the specified style attribute and a default style resource ID of zero.

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;I)V", "")]
public KeyboardView(Android.Content.Context? context, Android.Util.IAttributeSet? attrs, int defStyleAttr);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;I)V", "")>]
new Android.InputMethodServices.KeyboardView : Android.Content.Context * Android.Util.IAttributeSet * int -> Android.InputMethodServices.KeyboardView

Parameters

context
Context

The context used to resolve resources and the view's theme.

attrs
IAttributeSet

The attributes supplied for style resolution, or null if none are supplied.

defStyleAttr
Int32

A theme attribute that can provide a default style; zero disables this lookup.

Attributes

Remarks

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

KeyboardView(Context, IAttributeSet, Int32, Int32)

Initializes the keyboard view and resolves its styles using the supplied context and attributes.

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;II)V", "")]
public KeyboardView(Android.Content.Context? context, Android.Util.IAttributeSet? attrs, int defStyleAttr, int defStyleRes);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;II)V", "")>]
new Android.InputMethodServices.KeyboardView : Android.Content.Context * Android.Util.IAttributeSet * int * int -> Android.InputMethodServices.KeyboardView

Parameters

context
Context

The context used to resolve resources and the view's theme.

attrs
IAttributeSet

The attributes supplied for style resolution, or null if none are supplied.

defStyleAttr
Int32

A theme attribute that can provide a default style; zero disables this lookup.

defStyleRes
Int32

The fallback style resource, used if the theme attribute is zero or absent; zero supplies no fallback.

Attributes

Remarks

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