String shortname = dev.name;
if(dev.name.length()>1)
{
shortname = dev.name.substring(0, 1);
}
<BUG>paint.getTextBounds(dev.name, 0,shortname.length(), textBounds);

canvas.drawText(shortname, scrPoint.x, scrPoint.y + textBounds.height()/2 , paint);
</BUG>
}

String shortname = dev.name;
if(dev.name.length()>1)
{
shortname = dev.name.substring(0, 1);
}
graypaint.getTextBounds(dev.name, 0,shortname.length(), textBounds);
canvas.drawText(shortname, scrPoint.x, scrPoint.y + textBounds.height()/2 , graypaint);
}
