Posts

Xamarin Forms : AbsoluteLayout

Image
Use AbsoluteLayout to create pixel-perfect UIs. AbsoluteLayout   positions and sizes child elements proportional to its own size and position or by absolute values. Child views may be positioned and sized using proportional values or static values, and proportional and static values can be mixed. So this article will cover :  how to use  AbsoluteLayout  to achieve your desired design. How to deal with Proportional values and absolute values In the following screenshot we will do something like that :   Why I used in the screenshot absolutelayout instead of stacklayout , simply absolutelayout  has a unique anchor model whereby the anchor of the element is positioned relative to its element as the element is positioned relative to the layout when proportional positioning is used. So you can use elements over absolutelayout and this not in the stacklayout. you can control over all elements perfect with  absolutelayout so ...