OnTouchListener TouchLis = new OnTouchListener() {@SuppressLint("NewApi")@Overridepublic boolean onTouch(View v, MotionEvent event) {// TODO Auto-generated method stubif(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;
版权声明:本文为博主原创文章,未经博主允许不得转载。
,教育人的诗句或名言警句,激励人在逆境中脱颖而出的话