For remove the underline on the android, you can add the following code into the MauiProgram.cs:
Microsoft.Maui.Handlers.EntryHandler.Mapper.AppendToMapping(nameof(Entry), (handler, view) => {#if ANDROID handler.PlatformView.BackgroundTintList = ColorStateList.ValueOf(Android.Graphics.Color.Transparent);#endif });
And on the windows platform, you can put the following code into the /Platforms/Windows/App.xaml:
<maui:MauiWinUIApplication.Resources><Thickness x:Key="TextControlBorderThemeThickness">0</Thickness><Thickness x:Key="TextControlBorderThemeThicknessFocused">0</Thickness></maui:MauiWinUIApplication.Resources>
And there is no underline on the ios.
update 1:
Before:
After: