Dear Siva

I think problem belong xml layout of your layout item and your adapter

Could you please porst both xml layout of item and code of Adapter of list

Regards,
DatNQ

On Thu, Apr 21, 2011 at 12:53 AM, Siva Kannabiran <[email protected]>wrote:

> in my app i have created a list view and added some text in the list. In my
> coding part the text are been added as an array adapter to have a check box.
> In the layout i have given a white color for the list view because of this
> the text appear to be very dull. How to set the text color to be as black.
>
> i have placed the list view in layout file and placed the values for text
> view in coding. the following is the part of my coding
>
>
> names = new String[] { "Sequenced","Random" };
> list1 = (ListView) findViewById(R.id.cardlist);
> list1.setAdapter(new ArrayAdapter<String>(this,
>                 android.R.layout.simple_list_item_checked,names));
>
>                 list1.setChoiceMode(ListView.CHOICE_MODE_SINGLE);
>
>                 list1.setItemChecked(0,true);
>
>
> please help me.........
>
>
>
> --
> Siva Shankar K
>
>  --
> 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

-- 
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