-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
70 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,41 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | ||
xmlns:local="clr-namespace:Sample" | ||
xmlns:effects="clr-namespace:Xamarin.EnableKeyboardEffect;assembly=Xamarin.EnableKeyboardEffect" | ||
x:Class="Sample.MainPage"> | ||
|
||
<StackLayout VerticalOptions="CenterAndExpand" HorizontalOptions="FillAndExpand"> | ||
<Entry Text="Hide Keyboard" effects:EnableKeyboardEffect.EnableKeyboard="False"> | ||
<Button Clicked="button1_clicked" Text="Focus Button 1"></Button> | ||
<Button Clicked="button2_clicked" Text="Focus Button 2"></Button> | ||
<Entry x:Name="Entry1" Text="Hide Keyboard" effects:EnableKeyboardEffect.EnableKeyboard="False" Completed="Entry1_OnCompleted"> | ||
<Entry.Effects> | ||
<effects:KeyboardEnableEffect/> | ||
</Entry.Effects> | ||
</Entry> | ||
<Entry Text="Show Keyboard" effects:EnableKeyboardEffect.EnableKeyboard="True"> | ||
<Entry x:Name="Entry2" Text="Show Keyboard" effects:EnableKeyboardEffect.EnableKeyboard="True" Completed="Entry2_OnCompleted"> | ||
<Entry.Effects> | ||
<effects:KeyboardEnableEffect/> | ||
</Entry.Effects> | ||
</Entry> | ||
<Entry x:Name="Entry3" Text="Hide Keyboard" effects:EnableKeyboardEffect.EnableKeyboard="False" Completed="Entry3_OnCompleted"> | ||
<Entry.Effects> | ||
<effects:KeyboardEnableEffect/> | ||
</Entry.Effects> | ||
</Entry> | ||
<Entry x:Name="Entry4" Text="Hide Keyboard" effects:EnableKeyboardEffect.EnableKeyboard="False" Completed="Entry4_OnCompleted"> | ||
<Entry.Effects> | ||
<effects:KeyboardEnableEffect/> | ||
</Entry.Effects> | ||
</Entry> | ||
<Entry x:Name="Entry5" Text="Hide Keyboard" effects:EnableKeyboardEffect.EnableKeyboard="False" Completed="Entry5_OnCompleted"> | ||
<Entry.Effects> | ||
<effects:KeyboardEnableEffect/> | ||
</Entry.Effects> | ||
</Entry> | ||
<Entry x:Name="Entry6" Text="Hide Keyboard" effects:EnableKeyboardEffect.EnableKeyboard="False" Completed="Entry6_OnCompleted"> | ||
<Entry.Effects> | ||
<effects:KeyboardEnableEffect/> | ||
</Entry.Effects> | ||
</Entry> | ||
</StackLayout> | ||
|
||
</ContentPage> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters