Keyboard hides editext in twitter integration

enter image description here Hi, I ran into a problem in the twitter integration keyboard to hide the edittext username. I attached a screenshot, what is the problem. Thanks in advance the problem with the screens.

enter image description here

One more thing, I do not want to change my SDK

+4
source share
2 answers

I have a solution: - I have a twitter dialog code from the last sdk and it works

+2
source

**

You can use this code. May solve this problem. put the code in OnCreate ().

**

InputMethodManager imm = (InputMethodManager) getSystemService (Context.INPUT_METHOD_SERVICE); imm.hideSoftInputFromWindow (((EditText) findViewById (R.id.ivAppSearch)) .getWindowToken (), 0);

or

GetWindow () setSoftInputMode (WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN) ;.

0
source

Source: https://habr.com/ru/post/1489847/


All Articles