I am trying to change text color of my Listview.
ArrayAdapter<String> adapter = new ArrayAdapter<String>(this,
android.R.layout.simple_list_item_multiple_choice, stg1);
I have used default XML to call list of data and now the requirement is to change text-color of this list-view. I know I can do with other custom classes but is there any other way that I can change text-color by using this class only.
I have searched lot and tried so many other solution but every one is suggesting to use custom class, but I don't want to use custom class.
Below is link which I have referred.
How to change the list view text color?
Android: Change text color in ListView for singleChoice
how to change the color of the text of the default ListView in android?
How to Change List View Text color
Ans so many other link also but every one is suggesting to use custom class, take text-view and change the color of text-view but I don't want to use any other XML file or any custom class.
Even I don't know this is possible or not so please help me. Thanks in advance.