question: protected void drawText ( String text1 , String text2 , int x , int y , Canvas c ) { if ( textPaint == null ) { Paint p = new Paint ( ) ; p . setTypeface ( RobotoLightTypeface . getInstance ( context ) ) ; p . setColor ( textColor ) ; p . setTextSize ( 14 * pixelDensity ) ; this . textPaint = p ; } float w = textPaint . measureText ( text1 , 0 , text1 . length ( ) ) ; int offset = ( int ) w / 2 ; c . drawText ( text1 , x - offset , y + ( 18f * pixelDensity ) , textPaint ) ; w = textPaint . measureText ( text2 , 0 , text2 . length ( ) ) ; offset = ( int ) w / 2 ; c . drawText ( text2 , x - offset , y + ( 36f * pixelDensity ) , textPaint ) ; }
target:  Draw the text under the graphics