title: android spinner and array adapter programmatically
body: <p>I am trying to programmatically create a Spinner using an ArrayAdapter. This is being done in a closed source jar as part of an Android library project and I do not have any access to resources. </p>
  
  <p>I want to know how to customize the layout and the text view that displays the spinner.</p>
  
  <p>--EDIT--<br />
  Presently I am using the following code</p>
  
  <pre><code>ArrayAdapter&lt;T&gt; spinnerData = new ArrayAdapter&lt;T&gt;(this, Android.R.layout.simple_spinner_item, T[]);
  
  spinner.setAdapter(spinnerData);
  </code></pre>
  
  <p>What is happening is that I cannot control the size of the fonts, colours or anything else. When I click on the spinner to select something all the options are in really small text. I want to be able to change the way it renders on screen. </p>