Hello,
MAUI does not support the use of XML layouts in layouts. This is because MAUI, as a cross-platform UI framework, requires a specific layout format to be parsed during compilation.
If your application is targeted at the Android platform and requires a layout that can be implemented by XML but not by XAML, you can create a .Net Android Application project in Visual Studio. This project can be regarded as the successor of Xamarin.Android, in which you can use XML layout.
Best Regards,
Alec Liu.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.