title: Change colour in ListView
body: <p>I'm trying to change the colour in a ListView because I want to use a white background. Without touching the ListView it is showing no Text. On touch the background switches to black and the Text is visible because the text is white.
  How can I change the Textcolour and avoid that the background changes it's colour when touching?
  Here is my code:</p>
  
  <pre><code>        public class LayoutNight extends Fragment {
  
          ListView myList;
  
          String[] listContent = {
  
                  "Mo", 
                  "Di", 
                  "Mi",
                  "Do",
                  "Fr", 
                  "Sa", 
                  "So"
  
          };
  
          public static Fragment newInstance(Context context) {
              LayoutNight f = new LayoutNight();  
  
              return f;
          }
  
          @Override
          public View onCreateView(LayoutInflater inflater, ViewGroup container,Bundle savedInstanceState) {
              ViewGroup root = (ViewGroup) inflater.inflate(R.layout.layout_night, null);     
  
              myList = (ListView)root.findViewById(R.id.list);
  
              ArrayAdapter&lt;String&gt; adapter
  
              = new ArrayAdapter&lt;String&gt;(getActivity(),
  
                      android.R.layout.simple_list_item_multiple_choice,
  
                   listContent);
  
  
  
              myList.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE);
  
              myList.setAdapter(adapter);
  // That was a try, but it crashed ...
  
      //        TextView myListText = (TextView)root.findViewById(R.id.list);
      //        myListText.setTextColor(color.black);
  
              return root;
          }
  
      }
  </code></pre>
  
  <p><strong>EDIT</strong></p>
  
  <p>I did the suggestions of Raghunandan, but the background not changed.
  This is the untouched screenshot</p>
  
  <p><img src="https://i.stack.imgur.com/dpFW5.png" alt="untouched"></p>
  
  <p>This is the the screen at scrolling (<strong><em>unfortunately black</em></strong>)
  <img src="https://i.stack.imgur.com/c79vw.png" alt="scrolling"></p>
  
  <p>And this is the screen at selecting an option
  <img src="https://i.stack.imgur.com/1LJmD.png" alt="selecting option"></p>
  
  <p><strong>EDIT</strong>
  It's working now like following without changing the background while scrolling (Thanks to Pragnani and Raghunandan) but it is <strong>not clickable</strong> anymore. How can I make it clickable?</p>
  
  <pre><code>    &lt;ListView
  android:id="@+id/list"
  android:layout_width="fill_parent"
  android:layout_height="wrap_content"
  android:layout_weight="1"
  android:background="@drawable/listbkg"
  android:drawSelectorOnTop="true"
  android:cacheColorHint="@android:color/transparent"&gt;
  &lt;/ListView&gt;
  </code></pre>
  
  <p>list_row.xml</p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;TextView xmlns:android="http://schemas.android.com/apk/res/android"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:paddingTop="5px"
          android:paddingBottom="5px"
          android:textSize="35sp"
          android:textColor="#000000"
          android:layout_gravity="center"
          android:maxHeight="75px"/&gt;
  </code></pre>
  
  <p>Code:</p>
  
  <pre><code>    @Override
  public View onCreateView(LayoutInflater inflater, ViewGroup container,Bundle savedInstanceState) {
      ViewGroup root = (ViewGroup) inflater.inflate(R.layout.layout_night, null);     
  
      myList = (ListView)root.findViewById(R.id.list);
  
      ArrayAdapter&lt;String&gt; adapter
      = new ArrayAdapter&lt;String&gt;(getActivity(),R.layout.list_row,listContent);
  
      myList.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE);
      myList.setFocusable(true);
      myList.setClickable(true);
      myList.setAdapter(adapter);
  
      return root;
  }
  </code></pre>