Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- view.findViewById(R.id.constraintlayout_newtur_step3).setOnTouchListener(new View.OnTouchListener() {
- @Override
- public boolean onTouch(View v, MotionEvent event) {
- InputMethodManager imm = (InputMethodManager) getActivity().getSystemService(activity.INPUT_METHOD_SERVICE);
- imm.hideSoftInputFromWindow(activity.getCurrentFocus().getWindowToken(), 0);
- return true;
- }
- });
- android:clickable="true"
- android:focusable="true"
- android:focusableInTouchMode="true"
- android:id="@+id/constraintlayout_newtur_step2">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement