mirror of
https://github.com/syncthing/syncthing-android.git
synced 2025-01-07 10:42:07 +00:00
Don't open keyboard on "Share to Syncthing"
imported from: https://github.com/syncthing/syncthing-android/pull/1328
This commit is contained in:
parent
e0fa1dae0f
commit
de6e882a45
1 changed files with 4 additions and 0 deletions
|
@ -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.
|
||||
* <p>
|
||||
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue