Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ContentPage.Content>
- <ScrollView>
- <StackLayout
- Padding="{Binding MainStackSidePadding}"
- Spacing="15">
- <RelativeLayout
- Padding="{Binding MainStackSidePadding}"
- BackgroundColor="Red">
- <Image x:Name="logo" Source="testbar.png" HorizontalOptions="Center" HeightRequest="{Binding LogoSmallHeight}"
- RelativeLayout.XConstraint =
- "{ConstraintExpression Type=RelativeToParent,
- Property=Width,
- Factor=0.5,
- Constant=0}"
- RelativeLayout.YConstraint =
- "{ConstraintExpression Type=RelativeToParent,
- Property=Height,
- Factor=0,
- Constant=0}"/>
- <Image x:Name="backButton" Source="back.png" HeightRequest="30"
- RelativeLayout.XConstraint =
- "{ConstraintExpression Type=RelativeToParent,
- Property=Width,
- Factor=0.025,
- Constant=0}"
- RelativeLayout.YConstraint =
- "{ConstraintExpression Type=RelativeToView,
- ElementName = logo,
- Property=Height,
- Factor=0,
- Constant=50}">
- <Image.GestureRecognizers>
- <TapGestureRecognizer
- Command="{Binding GoBackCommand}"/>
- </Image.GestureRecognizers>
- </Image>
- </RelativeLayout>
- <!--Some other elements and labels etc. -->
- </StackLayout>
- </ScrollView>
- </ContentPage.Content>
Add Comment
Please, Sign In to add comment