【Android】TextViewをコードからBOLDにする方法
xmlから指定するとこんな感じ
<TextView android:id="@+id/hoge_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:textStyle="bold" android:text="hogehoge" />
これをコードからやりたい
TextView hogeText = (TextView) findViewById(R.id.hoge_text); hogeText.setTypeface(Typeface.DEFAULT_BOLD);