1

I want to place my Views dynamically on my App, so I used Absolute Layout from Xamarin.Forms. The problem is that when I set a Y position too big it doesn't behave like I want. I want to scrool when the element is off screen but it doesn't work. Do I have to add something or it's impossible with Absolute Layout ?

R15
  • 13,982
  • 14
  • 97
  • 173
Userlambda
  • 85
  • 1
  • 11
  • You could try put the AbsoluteLayout inside a StackLayout, and then anything extending should allow you to scroll to it :) – Sasha Feb 19 '18 at 13:46

1 Answers1

1

Instead of an AbsoluteLayout, you need to use RelativeLayout, because:

AbsoluteLayout:

Elements cannot be positioned off screen using proportional values.

RelativeLayout:

RelativeLayout does support positioning elements outside of its own bounds.

VahidShir
  • 2,066
  • 2
  • 17
  • 27