Ejemplo n.º 1
0
        // TODO: NET7 issoto - Change the return type to MauiAppCompatEditText
        protected override AppCompatEditText CreatePlatformView()
        {
            var editText = new MauiAppCompatEditText(Context)
            {
                ImeOptions    = ImeAction.Done,
                Gravity       = GravityFlags.Top,
                TextAlignment = Android.Views.TextAlignment.ViewStart,
            };

            editText.SetSingleLine(false);
            editText.SetHorizontallyScrolling(false);

            return(editText);
        }
Ejemplo n.º 2
0
        protected override AppCompatEditText CreatePlatformView()
        {
            var nativeEntry = new MauiAppCompatEditText(Context);

            return(nativeEntry);
        }