StickerView
StickerView copied to clipboard
Text sticker with Shadow
Hi is there any way to add shadow to text sticker like we add shadow to textviews.
go to TextSticker class and use
textPaint.setShadowLayer(20,0,5, Color.RED);
that way you can achieve this shadow effect.
Is there any method to add white stroke around text like we add shadow
yes you can
textPaint.setStrokeWidth() and textPaint.setStrokeCap(...) etc in TextSticker class.
but when i add stroke color to the text by using above method the fill color and stroke color become same. i only need to pass a white color stroke to the text.
have you add the different colors for both text and stroke?
Yea and one more thing either stroke or fill appear once