focus1 EditText focus issue. If you want to clear focus on EditText view when you click or touch other places. Insert below code in your Activity you want to apply. @Override public boolean dispatchTouchEvent(MotionEvent event) { if (event.getAction() == MotionEvent.ACTION_DOWN) { View v = getCurrentFocus(); if ( v instanceof EditText) { Rect outRect = new Rect(); v.getGlobalVisibleRect(outRect); if (!outRect.contains((int).. 2020. 2. 1. 이전 1 다음