Is there an easy way to draw an oblique stroke on a TextView? Now I use this code:
textview.setPaintFlags(textview.getPaintFlags() | Paint.STRIKE_THRU_TEXT_FLAG);
But I need something like this:

I am not very familiar with the Paint API, how easy it is to achieve this, so any help would be appreciated.
Thank.
source
share