title: Android Listview text colour white onCreateView(instead of black)
body: <p>Attached are 2 photos one when the list is populated using the onCreateView when the app starts(white text) and the other is whenever the SetList() method is called</p>
  
  <p><a href="http://i.stack.imgur.com/QHNEL.png" rel="nofollow">http://i.stack.imgur.com/QHNEL.png</a></p>
  
  <pre><code>        public View onCreateView(LayoutInflater inflater, ViewGroup container,
              Bundle savedInstanceState) {
          View rootView = inflater.inflate(R.layout.fragment_main, container, false);
          ListView lv = (ListView) rootView.findViewById(R.id.listView1);
          ArrayAdapter&lt;String&gt; adapter = new ArrayAdapter&lt;String&gt;(((MainActivity)getActivity()).getApplicationContext(), android.R.layout.simple_list_item_1,((MainActivity)getActivity()).Logs);
          lv.setAdapter(adapter);
          return rootView;
      }
  </code></pre>
  
  <p><a href="http://i.stack.imgur.com/8uTe1.png" rel="nofollow">http://i.stack.imgur.com/8uTe1.png</a></p>
  
  <pre><code>    public void SetList()
  {
      ListView lv = (ListView) findViewById(R.id.listView1);
      ArrayAdapter&lt;String&gt; adapter = new ArrayAdapter&lt;String&gt;(this, android.R.layout.simple_list_item_1,Logs);
      lv.setAdapter(adapter);
  }
  </code></pre>