示例#1
0
        public static void UpdateIsReadOnly(this AppCompatEditText editText, IEntry entry)
        {
            bool isEditable = !entry.IsReadOnly;

            editText.SetInputType(entry);

            editText.FocusableInTouchMode = isEditable;
            editText.Focusable            = isEditable;
        }
示例#2
0
 public static void UpdateIsTextPredictionEnabled(this AppCompatEditText editText, IEntry entry)
 {
     editText.SetInputType(entry);
 }
示例#3
0
 public static void UpdateIsPassword(this AppCompatEditText editText, IEntry entry)
 {
     editText.SetInputType(entry);
 }
 public static void UpdateKeyboard(this AppCompatEditText editText, IEditor editor)
 {
     editText.SetInputType(editor);
 }