Hi , I have developing list as
public class AddSwitch extends ListActivity
{


        public void onCreate(Bundle savedInstanceState)
     {
        System.out.println ("First stmt in onCreate of AddSwitch");

        super.onCreate(savedInstanceState);

        String[] switchName =
getResources().getStringArray(R.array.Switch_array);
        setListAdapter(new
ArrayAdapter<String>(this,android.R.layout.simple_list_item_1,
switchName));
        getListView().setTextFilterEnabled(true);
    }



        protected void onListItemClick(ListView l, View v, int position, long
id)
        {
        }

        public void onItemSelected(AdapterView parent,View v,int
position,long id)
        {

        }
}


Now I want to  change the color of list to other color. How to do
that? Because here I had not used any .xml file so how to write code
to change the color of list?

Thanks

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to