Get InnerShadow for Custom View

view full story

http://stackoverflow.com – I am trying to make a custom chronometer here is my code this is wrking perfectly The problem am stic with is i want to have inner shadow public class CustomChronometer extends Chronometer { private boolean start = false; private long startTime, elapsedTime; private float angle = 0f; private Paint paint, p; private RectF r; public CustomChronometer(Context context, AttributeSet attrs) { super(context, attrs); paint = new Paint(); paint.setColor(Color.parseColor("#0897ef")); paint.setStrokeWidth(25); paint.setStyle(Paint.Style.STROKE); paint.setAntiAlias(true); // (HowTos)