summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Android/FormsApplicationActivity.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.Android/FormsApplicationActivity.cs')
-rw-r--r--Xamarin.Forms.Platform.Android/FormsApplicationActivity.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Xamarin.Forms.Platform.Android/FormsApplicationActivity.cs b/Xamarin.Forms.Platform.Android/FormsApplicationActivity.cs
index c8795c6a..0a2397d8 100644
--- a/Xamarin.Forms.Platform.Android/FormsApplicationActivity.cs
+++ b/Xamarin.Forms.Platform.Android/FormsApplicationActivity.cs
@@ -106,6 +106,8 @@ namespace Xamarin.Forms.Platform.Android
_application = application;
Xamarin.Forms.Application.Current = application;
+ SetSoftInputMode();
+
application.PropertyChanged += AppOnPropertyChanged;
SetMainPage();
@@ -127,8 +129,6 @@ namespace Xamarin.Forms.Platform.Android
base.OnCreate(savedInstanceState);
- SetSoftInputMode();
-
_layout = new LinearLayout(BaseContext);
SetContentView(_layout);