I have an ListActivity and i am displaying one list with:
setListAdapter(new ArrayAdapter<String>(getApplicationContext(),
android.R.layout.simple_list_item_single_choice, mStringList));
By default text color of list items is white, I want to change text color of text views in the list to black.
How should i do it?
Another simplest way is to create a layout file containing the textview you want with textSize, textStyle, color etc preferred by you and then use it with the ArrayAdapter.
e.g. mytextview.xml
and then use it with your ArrayAdapter as usual like
This way you won’t need to create a custom adapter for it.