How to display Text in Android Canvas ShapeDrawable with in the RectShape or OvalShape?
The best option for me is to create a custom TextDrawable that handles properly how to display a piece of text. Then in your CustomDrawableView in your onDraw(Canvas c) method you can call it to display the text and the oval. Take a look at this answer I wrote recently as it contains how to … Read more