0
我有問題。我如何在textview中設置字體爲例如:Harrington。我用:如何在textview中設置所選字體
Typeface type = Typeface.createFromFile("C:/Fonts/Kokila.ttf");
gameResult.setTypeface(type);
gameResult = (TextView) findViewById(R.id.textViewResult);
但這種解決方案不起作用。有任何想法嗎?
AREN」你應該設置字體你findviewbyid後? – androidu 2012-03-22 09:30:44