I'm trying to use a Helvetica outlined ttf and i want the background of the font to be yellow and the outline part be black. I'm doing it loading the font in a TypeFace from assets and applying it to a TextView in the following way:
mTextViewMessage.getPaint().bgColor = Color.YELLOW;
but it does not work, the font is drawn with the black outline but no yellow background. In fact I am not even sure what does the bgColor field from TextPaint is for, i haven't found information about it in the doc. I've also tried to use the setBackgroundColor(Color) method from TextView but it doesn't fill the font inner part but all the TextView space.
So is there any way of doing it?.
Thanks for your help.