1234567891011121314151617181920212223242526272829303132333435 |
- <?xml version="1.0" encoding="UTF-8"?>
- <ContentView xmlns="http://xamarin.com/schemas/2014/forms"
- xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
- x:Class="ConnectionTest.ConnectionTestUnit">
- <ContentView.Content>
- <Frame Padding="2" CornerRadius="5" Margin="2" BorderColor="DarkGray" HasShadow="False" >
- <StackLayout>
- <Label x:Name="urlLbl" Grid.Column="0" HorizontalOptions="Center" FontAttributes="Bold" FontSize="24" TextColor="DimGray"/>
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*"/>
- <ColumnDefinition Width="*"/>
- </Grid.ColumnDefinitions>
- <StackLayout Grid.Column="0">
- <Label x:Name="attemptNoLbl" Text="Attempt No: 0" HorizontalOptions="Center" FontSize="20" HorizontalTextAlignment="Center" TextColor="DimGray"/>
- <Label x:Name="crashNoLbl" Text= "Crash Count: 0" HorizontalOptions="Center" FontSize="20" TextColor="DimGray"/>
- </StackLayout>
- <StackLayout Grid.Column="1">
- <Label x:Name="resolveLbl" Text="Resolves to: " HorizontalOptions="Center" FontAttributes="Bold" TextColor="DimGray"/>
- <Label x:Name="ipResolveLbl" Text="Not resolved" HorizontalOptions="Center" TextColor="DimGray"/>
- <Label x:Name="refreshLbl" HorizontalOptions="Center" TextColor="DimGray"/>
- </StackLayout>
- </Grid>
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*"/>
- <ColumnDefinition Width="auto"/>
- </Grid.ColumnDefinitions>
- <Button Grid.Column="0" x:Name="emailBtn" Text="Email logs" Clicked="EmailBtn_Clicked"/>
- <Button Grid.Column="1" Text="Close" Clicked="CloseButton_Clicked" HorizontalOptions="End"/>
- </Grid>
- </StackLayout>
- </Frame>
- </ContentView.Content>
- </ContentView>
|