Keyboard.CreateKeyFromXml Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a key from XML attributes in the base implementation.
[Android.Runtime.Register("createKeyFromXml", "(Landroid/content/res/Resources;Landroid/inputmethodservice/Keyboard$Row;IILandroid/content/res/XmlResourceParser;)Landroid/inputmethodservice/Keyboard$Key;", "GetCreateKeyFromXml_Landroid_content_res_Resources_Landroid_inputmethodservice_Keyboard_Row_IILandroid_content_res_XmlResourceParser_Handler")]
protected virtual Android.InputMethodServices.Keyboard.Key? CreateKeyFromXml(Android.Content.Res.Resources? res, Android.InputMethodServices.Keyboard.Row? parent, int x, int y, System.Xml.XmlReader? parser);
[<Android.Runtime.Register("createKeyFromXml", "(Landroid/content/res/Resources;Landroid/inputmethodservice/Keyboard$Row;IILandroid/content/res/XmlResourceParser;)Landroid/inputmethodservice/Keyboard$Key;", "GetCreateKeyFromXml_Landroid_content_res_Resources_Landroid_inputmethodservice_Keyboard_Row_IILandroid_content_res_XmlResourceParser_Handler")>]
abstract member CreateKeyFromXml : Android.Content.Res.Resources * Android.InputMethodServices.Keyboard.Row * int * int * System.Xml.XmlReader -> Android.InputMethodServices.Keyboard.Key
override this.CreateKeyFromXml : Android.Content.Res.Resources * Android.InputMethodServices.Keyboard.Row * int * int * System.Xml.XmlReader -> Android.InputMethodServices.Keyboard.Key
Parameters
- res
- Resources
Resources passed to the key constructor by the base implementation.
- parent
- Keyboard.Row
The row that supplies the key's keyboard and default dimensions in the base implementation.
- x
- Int32
The horizontal position before the key's gap is added in the base implementation.
- y
- Int32
The key's vertical position in the base implementation.
- parser
- XmlReader
The parser used to read the key's XML attributes in the base implementation.
Returns
The key created by the base factory.
- 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.