title: Spinner default text color white?
body: <p>I would like to change the color of the default value of my spinner.</p>
  
  <p>This value is white for no reason, how can I fix the text color of this default value to black?</p>
  
  <p>Illustration:<br>
  <a href="https://i.stack.imgur.com/oY3ut.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oY3ut.png" alt=""></a></p>
  
  <pre><code>ArrayAdapter&lt;String&gt; adapter;
  List&lt;String&gt; list;
  
  list=new ArrayList&lt;String&gt;();
  list.add("0.01");
  list.add("0.10");
  list.add("1.00");
  list.add("10.0");
  list.add("100");
  adapter= new ArrayAdapter&lt;String&gt;(getApplicationContext(), android.R.layout.simple_spinner_item,list);
  adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
  spinner_pas.setAdapter(adapter);
  spinner_pas.setSelection(2);
  </code></pre>