|
24 | 24 | </Page.Resources>
|
25 | 25 |
|
26 | 26 | <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
|
| 27 | + <VisualStateManager.VisualStateGroups> |
| 28 | + <VisualStateGroup> |
| 29 | + <VisualState> |
| 30 | + <VisualState.StateTriggers> |
| 31 | + <AdaptiveTrigger MinWindowWidth="640"/> |
| 32 | + </VisualState.StateTriggers> |
| 33 | + <VisualState.Setters> |
| 34 | + <Setter Target="TitleTextBlock.FontSize" Value="46"/> |
| 35 | + </VisualState.Setters> |
| 36 | + </VisualState> |
| 37 | + </VisualStateGroup> |
| 38 | + </VisualStateManager.VisualStateGroups> |
27 | 39 | <Grid.RowDefinitions>
|
28 |
| - <RowDefinition Height="Auto" /> |
29 |
| - <RowDefinition Height="Auto" /> |
30 |
| - <RowDefinition Height="Auto" /> |
31 |
| - <RowDefinition Height="Auto" /> |
32 |
| - <RowDefinition Height="Auto" /> |
| 40 | + <RowDefinition Height="*" /> |
| 41 | + <RowDefinition Height="*" /> |
33 | 42 | </Grid.RowDefinitions>
|
34 |
| - <TextBlock Grid.Row="0" Foreground="White" FontSize="35" HorizontalAlignment="Center" Margin="20 20 20 20">Connect with Signal</TextBlock> |
35 |
| - <TextBlock Grid.Row="1" Foreground="White" HorizontalAlignment="Center">Please enter your SMS verification code below:</TextBlock> |
36 |
| - <TextBox Grid.Row="2" Width="200" Text="{x:Bind Vm.VerificationCode, Mode=TwoWay}" IsEnabled="{x:Bind Vm.UIEnabled, Mode=OneWay}"/> |
37 |
| - <Button Grid.Row="3" Background="White" Foreground="#2190EA" HorizontalAlignment="Center" Width="200" Margin="20 20 20 20" Click="FinishButton_Click" IsEnabled="{x:Bind Vm.UIEnabled, Mode=OneWay}">Finish Registration</Button> |
| 43 | + <TextBlock x:Name="TitleTextBlock" Grid.Row="0" Foreground="White" FontSize="34" HorizontalAlignment="Center" FontWeight="Light" Text="Connect with Signal" VerticalAlignment="Center"/> |
| 44 | + <StackPanel Grid.Row="1"> |
| 45 | + <TextBlock Foreground="White" HorizontalAlignment="Center" Text="Enter your SMS verification code" FontSize="24" FontWeight="SemiLight"/> |
| 46 | + <TextBox Width="200" Text="{x:Bind Vm.VerificationCode, Mode=TwoWay}" IsEnabled="{x:Bind Vm.UIEnabled, Mode=OneWay}" Margin="0,16,0,0"/> |
| 47 | + <Button Background="White" Foreground="#2190EA" HorizontalAlignment="Center" Width="200" Margin="20 20 20 20" Click="FinishButton_Click" IsEnabled="{x:Bind Vm.UIEnabled, Mode=OneWay}" Content="Finish Registration"/> |
| 48 | + </StackPanel> |
38 | 49 | </Grid>
|
39 | 50 | </Page>
|
0 commit comments