0

I would like to place my ScrollView from the Point(0,94) to the bottom of the screen.

(0,94,1,1) with WidthProportional and HeightProportional does not work. The bottom of the ScrollView is out of screen.

Can anyone help me?

1 Answers1

0

If you want to do something like this

enter image description here

The code is

<ScrollView
            Margin="0"
            Padding="0"
            AbsoluteLayout.LayoutBounds="1,1,1,0.6"
            AbsoluteLayout.LayoutFlags="All"
            BackgroundColor="Yellow">
        </ScrollView>

Because you want it to stay at bottom and ocuppy 0.6 (1 - 0.94) of the screen

But if you only want to position it and you don't care about the size, you should use PositionProportional instead of the SizeProportional

Juan Sturla
  • 1,254
  • 1
  • 4
  • 18
  • Hi, thanks for the quick answer. I mean I would like to place my ScrollView from the Point(x=0,y=94) to the bottom of the screen. And I want this work on every mobile device. (Sorry if my English is bad. I hope it is understandable.) – Pulai Gábor Sep 28 '21 at 12:49
  • Then you might want to use `AbsoluteLayout.LayoutFlags="PositionProportional"` – Juan Sturla Sep 28 '21 at 13:09