<UserControl xmlns="https://github.com/avaloniaui"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:views="using:DodoSSH.Client.Android.Views"
             x:Class="DodoSSH.Client.Android.Views.PendingScreen"
             x:DataType="views:PendingScreen"
             Background="{StaticResource Canvas}">

  <!--
    The phone's counterpart of the desktop head's NotBuiltScreen, and it exists for the same reason: a
    screen that is not built says so, in its own words, rather than being dropped from the shell or filled
    with plausible-looking data. See README — nothing here is rendered with invented data.

    Two properties rather than a shared string, because the copy is written per state. "No items" would be
    the exact failure this control is here to avoid.
  -->

  <ScrollViewer>
    <StackPanel VerticalAlignment="Center" Margin="24,48" Spacing="12">

      <Border Width="44" Height="44" BorderBrush="{StaticResource BorderMid}" BorderThickness="1"
              HorizontalAlignment="Left">
        <TextBlock Text="&gt;_" Foreground="{StaticResource TextFaint}" FontFamily="{StaticResource MonoFont}"
                   FontSize="16" FontWeight="SemiBold"
                   HorizontalAlignment="Center" VerticalAlignment="Center" />
      </Border>

      <TextBlock Text="{Binding Heading}" Foreground="{StaticResource Text}"
                 FontFamily="{StaticResource MonoFont}" FontSize="14" FontWeight="SemiBold"
                 TextWrapping="Wrap" />

      <TextBlock Text="{Binding Detail}" Foreground="{StaticResource TextDim}"
                 FontFamily="{StaticResource MonoFont}" FontSize="11" LineHeight="19"
                 TextWrapping="Wrap" />

    </StackPanel>
  </ScrollViewer>

</UserControl>
