diff --git a/app/src/main/java/com/nutomic/syncthingandroid/activities/ShareActivity.java b/app/src/main/java/com/nutomic/syncthingandroid/activities/ShareActivity.java index fa9e2686..690b9183 100644 --- a/app/src/main/java/com/nutomic/syncthingandroid/activities/ShareActivity.java +++ b/app/src/main/java/com/nutomic/syncthingandroid/activities/ShareActivity.java @@ -44,6 +44,8 @@ import java.util.HashMap; import java.util.List; import java.util.Map; +import static android.view.WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN; + /** * Shares incoming files to syncthing folders. *
@@ -120,6 +122,8 @@ public class ShareActivity extends SyncthingActivity mConfig = new ConfigRouter(ShareActivity.this); setContentView(R.layout.activity_share); + getWindow().setSoftInputMode(SOFT_INPUT_STATE_ALWAYS_HIDDEN); + Button mShareButton = findViewById(R.id.share_button); Button mCancelButton = findViewById(R.id.cancel_button); Button browseButton = findViewById(R.id.browse_button);