Entry in MAUI is blank in Android but has borders in iOS.

Parvez ali 6 Reputation points
2022-06-17T21:08:11.143+00:00

Entry/ Editor control is not uniform in MAUI iOS and Android versions of the same app. How to make it uniform.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,369 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Riccardo Minato 6 Reputation points
    2022-06-18T17:48:29.913+00:00

    .NET MAUI, like Xamarin.Forms, uses by design platform native controls under the hood. This means that components like entries, buttons etc. are actually converted in their Android and iOS equivalents.
    Therefore the default version of entry will be different in iOS and Android.

    You can use handlers to make them as similar as possible, but if your main requirement is to obtain two apps which are perfectly identical on both Android and iOS, maybe you should choose a framework which doesn't use native controls, but renders all from scratch.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.