Strange Spinner. How to fix it?
<p>This is my code to populate the Spinner. It looks strange and ugly.</p>

<pre><code>    @Override
    protected void onPostExecute(final List&lt;String&gt; result) {
        System.out.println("Result: " + result);
        final SpinnerAdapter adapter = new ArrayAdapter&lt;String&gt;(SearchTopActivity.this, android.R.layout.simple_spinner_dropdown_item, new String[]{"test1", "test2"});
        countrySpinner.setAdapter(adapter);
    }

&lt;Spinner
    android:id="@+id/countrySpinner"
    android:layout_width="match_parent"
    android:layout_height="wrap_content" /&gt;
</code></pre>

<p><img src="http://i.stack.imgur.com/w1OhX.png" alt="enter image description here"></p>

<p><strong>How to fix it like this</strong></p>

<p><img src="http://i.stack.imgur.com/6hzff.png" alt="enter image description here"></p>
