Code example for RadialGradient

0
						nl.mDstRect = new Rect((int)(x - width/2), (int)(y - height/2), (int)(x + width/2), (int)(y + height/2));
						if (mDstRectSize < nl.mBitmap.getWidth() * 1.8) {
							mDstRectSize += 5;
						} 
					} 
					mShader = new RadialGradient(x, y, x, Color.GREEN, Color.DKGRAY, Shader.TileMode.MIRROR );
					break; 
				case MotionEvent.ACTION_UP:
					mTouchNum = -1;
					mSuccess = checkSuccess();
					mDstRectSize = 0;
					break; 
				} 
				doDraw(); 
				return true; 
			} 
		}); 
        Button btn = (Button)findViewById(R.id.reset);
        btn.setOnClickListener(new OnClickListener() {
			@Override 
			public void onClick(View v) {