UI/Views/IntroTutorialHandshakePageView.xaml
author Thomas
Mon, 28 Oct 2019 08:15:41 +0100
branchOUT-619
changeset 2834 4fa3adadc41d
parent 2827 2ff75db35d55
permissions -rw-r--r--
Adjust image size
Thomas@2824
     1
<UserControl x:Class="pEp.UI.Views.IntroTutorialHandshakePageView"
Thomas@2824
     2
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
Thomas@2824
     3
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Thomas@2824
     4
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
Thomas@2824
     5
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
Thomas@2824
     6
             xmlns:p="clr-namespace:pEp.Properties"
Thomas@2824
     7
             mc:Ignorable="d">
Thomas@2824
     8
    <StackPanel>
Thomas@2824
     9
Thomas@2824
    10
        <!--Upper section-->
Thomas@2824
    11
        <Grid>
Thomas@2824
    12
            <Grid.ColumnDefinitions>
Thomas@2824
    13
                <ColumnDefinition Width="*"/>
Thomas@2824
    14
                <ColumnDefinition Width="Auto"/>
Thomas@2824
    15
            </Grid.ColumnDefinitions>
Thomas@2824
    16
Thomas@2824
    17
            <!--Explanation-->
Thomas@2824
    18
            <TextBlock Grid.Column="0"
Thomas@2824
    19
                       Text="{x:Static p:Resources.IntroTutorial_Handshake}"
Thomas@2824
    20
                       TextWrapping="Wrap"
Thomas@2824
    21
                       Margin="5,5,5,15" />
Thomas@2824
    22
Thomas@2824
    23
            <!--Icon image-->
Thomas@2824
    24
            <Image Grid.Column="1"
Thomas@2824
    25
                   VerticalAlignment="Stretch"
Thomas@2824
    26
                   HorizontalAlignment="Center"
Thomas@2827
    27
                   Margin="10"
Thomas@2834
    28
                   Width="160"
Thomas@2824
    29
                   Stretch="Uniform"
Thomas@2824
    30
                   Source="pack://application:,,,/pEp;component/Resources/ImageIntroTutorialPrivacyStatusExpanded.png" />
Thomas@2824
    31
        </Grid>
Thomas@2824
    32
Thomas@2824
    33
        <!--Handshake image-->
Thomas@2824
    34
        <Image Stretch="Uniform"
Thomas@2824
    35
               VerticalAlignment="Stretch"
Thomas@2824
    36
               HorizontalAlignment="Center"
Thomas@2827
    37
               Width="480"
Thomas@2827
    38
               Margin="0,15"
Thomas@2824
    39
               Source="pack://application:,,,/pEp;component/Resources/ImageIntroTutorialTrustwords.png" />
Thomas@2824
    40
Thomas@2824
    41
        <!--Trusted explanation-->
Thomas@2827
    42
        <TextBlock Text="{x:Static p:Resources.IntroTutorial_AcceptHandshake}"
Thomas@2824
    43
                   TextWrapping="Wrap"
Thomas@2824
    44
                   Margin="5,5,5,15" />
Thomas@2824
    45
Thomas@2824
    46
    </StackPanel>
Thomas@2824
    47
</UserControl>