I have created a new MAUI .NET 8 project and migrated the Xamarin forms project code.
In my project, I used RelativeLayout for UI design on all the pages, now this RelativeLayout is outdated in MAUI.
I used the Compatability namespace to use RelativeLayout in my MAUI project. However, the RelativeLayout is not working properly in MAUI. the position of elements in RelativeLayout working weirdly.
My question is,
RelativeLayout will work properly in MAUI or not?
Do I need to strictly not use RelativeLayout in MAUI? If yes what is the recommended layout in MAUI which similar/alternative to RelativeLayout?
1
RelativeLayout will work properly in MAUI or not?
Do I need to strictly not use RelativeLayout in MAUI? If yes what is
the recommended layout in MAUI which similar/alternative to
RelativeLayout?
About RelativeLayout, you can refer to this case: Since RelativeLayeout is not recommended to use in .Net Maui, what techniques would replace it?. You can use Grid Layout or create custom layout.
2