Code example for GestureOverlayView

Methods: clear, setFadeOffset

0
				} else { 
					mText.setText("保存手势:"+mEdit.getText().toString());
					addMyGesture(mEdit.getText().toString(), mGesture);	
					 
					mGesture = null;
					gestView.setFadeOffset(10);
					gestView.clear(true); 
					gestView.setFadeOffset(600000);
					mOK.setEnabled(false);
				} 				 
			} 
		}); 
		 
		mCancel.setOnClickListener(new OnClickListener() {
			 
			@Override 
			public void onClick(View v) {
//				gestView.clear(true); 
//				mGesture = null; 	 
				gestView.setFadeOffset(10);
Stop searching for code, let great code find you!  Add Codota to your java IDE