mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-26 14:21:16 +00:00
Don't open keyboard on save to Syncthing (#1328)
This commit is contained in:
parent
a715fb6d79
commit
a65e60b005
1 changed files with 4 additions and 0 deletions
|
@ -39,6 +39,8 @@ import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
|
import static android.view.WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Shares incoming files to syncthing folders.
|
* Shares incoming files to syncthing folders.
|
||||||
* <p>
|
* <p>
|
||||||
|
@ -102,6 +104,8 @@ public class ShareActivity extends StateDialogActivity
|
||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
setContentView(R.layout.activity_share);
|
setContentView(R.layout.activity_share);
|
||||||
|
|
||||||
|
getWindow().setSoftInputMode(SOFT_INPUT_STATE_ALWAYS_HIDDEN);
|
||||||
|
|
||||||
registerOnServiceConnectedListener(this);
|
registerOnServiceConnectedListener(this);
|
||||||
|
|
||||||
Button mShareButton = findViewById(R.id.share_button);
|
Button mShareButton = findViewById(R.id.share_button);
|
||||||
|
|
Loading…
Reference in a new issue