Lot's of person have fill difficulty to a make Scrollable edittext box in side scrollview , so i give solution how to make edit text scrollable inside scroll view.
Hear is the Method .
Hear is the Method .
editText.setOnTouchListener(new View.OnTouchListener() { // Hear ediText is the object of your EditText @Override public boolean onTouch(View view, MotionEvent motionEvent) { scrollView.requestDisallowInterceptTouchEvent(true); // Also hear scrollView is the object of your scrollview return false; } });
No comments:
Post a Comment