Nexus 7 デバイスを使用しています
フォント サイズと書体を指定してペイントを作成します。私のフォントは「Arial」で、サイズは 780 です。私の仕事は、「座る」をさまざまな色で書くことです(s-赤、it-青)
for(int j = 0; j < subStr.get_items().size(); j++) // substr contains two elements "s" and "it"
{
TextWord item = subStr.get_items().get(j);
paint.setColor(item.get_textColor());
paint.setAntiAlias(true);
canvas.drawText(item._value, item._textRect.left, item._textRect.top + item._textRect.height(), paint);
}
アプリケーションでは「s t」しか見えませんが、「i」は見えません。何が問題になる可能性がありますか?悪い絵 - https://dl.dropboxusercontent.com/u/35170194/Screenshot_2013-05-07-18-22-48.png 良い絵 - https://dl.dropboxusercontent.com/u/35170194/Screenshot_2013-05 -07-18-22-37.png