List of usage examples for android.widget ImageView getWindowToken
public IBinder getWindowToken()
From source file:org.lytsing.android.weibo.ui.ComposeActivity.java
private void showOrHideIMM() { if (aq.id(R.id.ib_face_keyboard).getTag() == null) { ImageView faceOrKeyboard = (ImageView) findViewById(R.id.ib_face_keyboard); imm.hideSoftInputFromWindow(faceOrKeyboard.getWindowToken(), 0); showFace();/*from w w w.j a v a 2 s . c o m*/ } else { imm.showSoftInput(mEdit, 0); hideFace(); } }