Sdílet prostřednictvím


TextView.SetInputExtras(Int32) Method

Definition

Set the extra input data of the text, which is the EditorInfo#extras TextBoxAttribute.extras Bundle that will be filled in when creating an input connection.

[Android.Runtime.Register("setInputExtras", "(I)V", "GetSetInputExtras_IHandler")]
public virtual void SetInputExtras (int xmlResId);
[<Android.Runtime.Register("setInputExtras", "(I)V", "GetSetInputExtras_IHandler")>]
abstract member SetInputExtras : int -> unit
override this.SetInputExtras : int -> unit

Parameters

xmlResId
Int32
Attributes

Exceptions

Remarks

Set the extra input data of the text, which is the EditorInfo#extras TextBoxAttribute.extras Bundle that will be filled in when creating an input connection. The given integer is the resource identifier of an XML resource holding an android.R.styleable#InputExtras &lt;input-extras&gt; XML tree.

Java documentation for android.widget.TextView.setInputExtras(int).

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