Button btn = findViewById(R.id.btn); btn.setFocusable(true); btn.setFocusableInTouchMode(true); btn.requestFocusFromTouch();
Recommended Posts