OnTouchListener TouchLis = new OnTouchListener() {
@SuppressLint(NewApi)
@Override
public boolean onTouch(View v, MotionEvent event) {
// TODO Auto-generated method stub
if(event.getAction() == MotionEvent.ACTION_UP){
scrollview.requestDisallowInterceptTouchEvent(false);
}else{
scrollview.requestDisallowInterceptTouchEvent(true);
}
switch (v.getId()) {
case R.id.yundong_left:
switch (event.getAction()) {
case MotionEvent.ACTION_DOWN:
yundong_left.setAlpha(0.5f);
break;
case MotionEvent.ACTION_UP:
yundong_left.setAlpha(1.0f);
String mString = MyConstants.GUIDE_LIST_URL+?ID=+idlist.get(0);
Intent intent7 = new Intent(getActivity(), WebActivity.class);
intent7.putExtra(url, mString);
startActivity(intent7);
break;
}
break;