I am new to WP development and trying to get hands-on.
If you look at wallet pin screen, focus is automatically set to textbox so that user can start typing and also the keyboard does not hides/overlaps done & cancel button.

Also, If you hit back key, those buttons remain at bottom as shown below.

I am also trying to have same kind of UI. However, In my case
I am not able to set focus to textbox as soon as page is loaded. I can't get .Focus() method of textbox in OnNavigatedTo event. Where should i do this ?
When i manually tap textbox to enter a value, the keyboard overlaps my stackpanel containing 'save' & 'cancel' button as shown below. I don't want this to happen. Instead the screen should look like as shown in 2nd image.

Below is the XAML code i tried.
<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
<StackPanel>
<TextBlock Name="txtLimit" TextWrapping="Wrap" Text="Enter the value" Style="{StaticResource PhoneTextSubtleStyle}"/>
<TextBox AcceptsReturn="True" InputScope="Number" />
</StackPanel>
<StackPanel VerticalAlignment="Bottom" HorizontalAlignment="Center" Orientation="Horizontal" >
<Button Content="save" Width="200" />
<Button Content="cancel" Width="200"/>
</StackPanel>
</Grid>