How are Xamarin.Forms layouts converted to platform layouts?

I recently talked with my team about Xamarin.Form layouts, and they thought that Xamarin.Forms.AbsoluteLayout was fragile and difficult to work with (I personally think they are very convenient, especially for proportional layouts, and from everything I remember reading, they are usually not a performance issue). They referred to this article , which said that the use of AbsoluteLayouts should be avoided - but which was specifically for the Android article, and she had in mind Android.Widget.AbsoluteLayout .

So, it made me think ... does Xamarin.Forms.Layout somehow translate to Android.Widget.AbsoluteLayout (I think they are completely different, since Xamarin.Forms allows you to proportionally select the size / position)? How does Xamarin.Forms translate various layouts into platform layouts?

+4
source share
1 answer

Layouts differ from each other in Xamarin Forms than their equivalents on their own platform. The absolute XF layout is not - it is the Android AbsoluteLayout shell.

XF , WPF Microsoft. (). . (, UITextBox iOS EditText Android).

. , . , "" .

+3

Source: https://habr.com/ru/post/1687457/


All Articles