Android TextView Multiple Strokes

209 Views Asked by At

Is there a way to successfully give the text of a TextView 2 strokes instead of just one? I can do one successfully, but my search is coming up empty for 2.

1

There are 1 best solutions below

0
On

I found this StrokedTextView class in the AOSP

https://android.googlesource.com/platform/packages/apps/Launcher3/+/55d225d/src/com/android/launcher2/StrokedTextView.java

It overrides OnDraw to allow as many strokes as you want.