Hmm I'm not 100% clear, but I think that you will get the behavior that you 
want if you extend the EditText class and override the onTouchEvent() 
method:

  public boolean onTouchEvent(MotionEvent ev) {
    boolean canScroll = !this.isFocusable() || !this.isEnabled() ||
                          (this.isFocused() && this.isFocusable() && 
this.isEnabled() );
    if (ev.getAction() == MotionEvent.ACTION_DOWN && canScroll) {
      this.getParent().requestDisallowInterceptTouchEvent(true);
    }
    if (ev.getAction() == MotionEvent.ACTION_UP) {
      this.getParent().requestDisallowInterceptTouchEvent(false);
    }

    return super.onTouchEvent(ev);
  }

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to