Hello,
Writing layouts in .net android using xaml is not feasible.
XAML is a language that extends XML, but in native Android, it only recognizes xml-written layouts. Using C# when developing .NET Android, you need to follow Google's rules for 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.