How to change text color of simple list item

后端 未结 12 2112
清酒与你
清酒与你 2020-11-27 04:12

I have an ListActivity and i am displaying one list with:

setListAdapter(new ArrayAdapter(getApplicationContext(),
                android.R.la         


        
12条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-27 04:51

    Create an xml file in res/values and copy the below code

    
    

    and the specify the style in activity in Manifest like below

     android:theme="@style/BlackText"
    

提交回复
热议问题