I am trying to implement fragment using android 4.0. I have added the three items in list fragment in my DummyContent.java file
static {
// Add 3 sample items.
addItem(new DummyItem("1", "Videos"));
addItem(new DummyItem("2", "Images"));
addItem(new DummyItem("3", "Story"));
}
These Videos,Images,Story are appearing on left side of fragment on click of each it item shows details information on detail fragment in right hand side.
I want to change the font of these list views but problem is list fragment uses systems textview as below
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
// TODO: replace with a real list adapter.
setListAdapter(new ArrayAdapter<DummyContent.DummyItem>(getActivity(),
android.R.layout.simple_list_item_activated_1,
android.R.id.text1, DummyContent.ITEMS));
}
Which is not allowing me to apply Typeface to android.R.id.text1
Please help me