Hi,
I have a Xamarin Forms app which is still using an Absolute Layout to place buttons and labels on a background image. These objects are placed so that they align with the buttons and screen of the background image. Example: I have a bitmap image of a calculator. I'm placing buttons on top of the image to align with the buttons on the image as well as the label on top of the calculators display. I set the opacity to 0 on the buttons so they don't show, but are still clickable.
The problem I'm facing is that I need to change the absolute positions for each device the app is going to run on as well as the fact that the Absolute Layout has been deprecated.
So my question is what would be the best way to position controls based on a background image which will allow different devices to automatically scale and align the controls? Or even some code to calculate where the controls should be positioned based on the pixels of the image.
Let me know if more info is required.
Thanks,
Jean