keyboardType

Typeproperty
Dictionaryandroid.field
LibraryAndroid Native Field
Syntax
set the keyboardType of <widget> to <pType>
get the keyboardType of <widget>
Associationscom.livecode.widget.native.android.field
Summary

The type of keyboard associated to the field widget.

OSandroid
Example
set the keyboardType of widget "Android Field" to "URL"
Values
NameTypeDescription
Value
  • "default": the default keyboard
  • "alphabet": the alphabetic keyboard
  • "numeric": the numeric keyboard with punctuation
  • "URL": the URL entry keyboard
  • "number": the number pad keyboard
  • "phone": the phone number pad keyboard
  • "contact": the phone contact pad keyboard
  • "email": the email keyboard
  • "decimal": the decimal numeric pad keyboard
Description

Use the keyboardType property to determine what kind of keyboard should be displayed when this field widget is focused.