title: Android Canvas drawText not working
body: <p>I made a custom view using canvas's drawText method. Somehow none of the text is showing on any of the Jelly Bean devices. It works fine for ICS and below.</p>
  
  <p>Does anyone know if anything has changed from API 15 to 16 for this method or any related methods?</p>
  
  <p>Edit Code: (from the draw method where canvas is supplied as a parameter)</p>
  
  <pre><code>    paint = new Paint();
      paint.setAntiAlias(true);
      paint.setStrokeWidth(3);
      paint.setColor(context.getResources().getColor(R.color.plot_background));
      canvas.drawRect(new Rect(0,0,getWidth(),getHeight()), paint);
      paint.setColor(color_text);
      paint.setTextSize(getScaled(18.5f));
      paint.setTextAlign(Align.CENTER);
      canvas.drawText(title, (graphwidth / 2) + horstart, border/2+15, paint);
  </code></pre>
  
  <p>I know the line is been executed and the coordinates are correct because the same code works on the older platforms. </p>