私はこのようなレイアウトを持っています:
items.xml:
<TextView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/item_title"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:paddingLeft="15dip"
android:textSize="24sp"/>
私はこのように配列アダプタでこれを設定しています:
ここで配列はString[] array;
adapter.addSection(header, new ArrayAdapter<String>(this, R.layout.items, array));
セットカラー、テキストサイズ、カスタムフォントをプログラム的に追加したいのですが、どうすればいいですか?
色、テキストサイズ、カスタムフォントを設定する方法は知っていますが、このテキストビューのIDを取得する方法は?