Exemplo n.º 1
0
        public static void UpdateIsReadOnly(this AppCompatEditText editText, IEditor editor)
        {
            bool isReadOnly = !editor.IsReadOnly;

            editText.FocusableInTouchMode = isReadOnly;
            editText.Focusable            = isReadOnly;
            editText.SetCursorVisible(isReadOnly);
        }