Android – shadow on text?

I am wondering how to add shadow on text in android?

I have the following code which is applied on a bitmap and I wanted to be shadowed…

paint.setColor(Color.BLACK);
paint.setTextSize(55);
paint.setFakeBoldText(false);
paint.setShadowLayer(1, 0, 0, Color.BLACK); //This only shadows my whole view...

6 Answers
6

Leave a Comment