Advertisement
Guest User

Untitled

a guest
Feb 8th, 2016
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. InputMethodManager imm =(InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
  2. imm.toggleSoftInput(InputMethodManager.SHOW_FORCED,0);
  3.  
  4. /**
  5. * Also you can add this to the Manifiest file:
  6. * android:windowSoftInputMode="stateVisible"
  7. * inside of the <activity> you want
  8. * /
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement