Skip to content
This repository was archived by the owner on Nov 14, 2020. It is now read-only.

Commit d72298b

Browse files
Update ResultPage.xaml
1 parent c8728c1 commit d72298b

File tree

1 file changed

+5
-18
lines changed

1 file changed

+5
-18
lines changed

src/XamarinAzureChallenge/XamarinAzureChallenge/Pages/ResultPage.xaml

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -19,36 +19,24 @@
1919
Aspect="AspectFill"
2020
Source="backgroundImage.png" />
2121

22-
<Grid
22+
<StackLayout
2323
Padding="18,0,18,0"
24-
AbsoluteLayout.LayoutBounds="0, 0.75,1,0.4"
24+
AbsoluteLayout.LayoutBounds="0, 0, 1, 1"
2525
AbsoluteLayout.LayoutFlags="All"
26-
HorizontalOptions="CenterAndExpand">
27-
28-
<Grid.RowDefinitions>
29-
<RowDefinition Height="*" />
30-
<RowDefinition Height="*" />
31-
<RowDefinition Height="3.5*" />
32-
<RowDefinition Height="*" />
33-
</Grid.RowDefinitions>
34-
<Grid.ColumnDefinitions>
35-
<ColumnDefinition Width="Auto" />
36-
</Grid.ColumnDefinitions>
26+
HorizontalOptions="CenterAndExpand"
27+
VerticalOptions="CenterAndExpand">
3728

3829
<Image
39-
Grid.Row="0"
4030
Source="{Binding ImageResult}" />
4131

4232
<Label
43-
Grid.Row="1"
4433
FontSize="26"
4534
HorizontalTextAlignment="Center"
4635
Text="{Binding TextResult}"
4736
TextColor="White" />
4837

4938
<Label
5039
VerticalOptions="FillAndExpand"
51-
Grid.Row="2"
5240
Margin="5,0,5,60"
5341
FontSize="16"
5442
HorizontalTextAlignment="Center"
@@ -57,15 +45,14 @@
5745
TextColor="White" />
5846

5947
<Button
60-
Grid.Row="3"
6148
Padding="5"
6249
Command="{Binding EditYourSubmissionCommand}"
6350
HorizontalOptions="FillAndExpand"
6451
Image="back_arrow"
6552
Style="{StaticResource ButtonStyle}"
6653
Text="Edit submission"
6754
IsVisible="{Binding IsBackButtonVisible}"/>
68-
</Grid>
55+
</StackLayout>
6956
</AbsoluteLayout>
7057

7158
</ContentPage.Content>

0 commit comments

Comments
 (0)