我想覆盖android适配器中的文本颜色,我该怎么做。字符串的值将从后端服务加载。
请帮帮我。
lv = (ListView) findViewById(R.id.report_symptomlv);
mAdapter = new ArrayAdapter<String>(this,android.R.layout.simple_list_item_multiple_choice, mSymptoms);
lv.setAdapter(mAdapter);
lv.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE);
lv.setOnItemClickListener(this);
//--------------
alert.setPositiveButton("OK", new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int whichButton) {
mName = input.getText().toString().toUpperCase();
//----I need to make this text as Orange----
Geocoder mGeoCoder = new Geocoder(favorite.this, Locale.getDefault());