Reputation:
How can I increase the size of Drop Down Items in Spinner? Its looking too small on my device
<Spinner
android:id="@+id/spinner1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true" />
see image below
Upvotes: 2
Views: 2481
Reputation: 126
I can increase the dropdown width by using the android:dropDownWidth
<Spinner
android:id="@+id/spinnerSports"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:entries="@array/questionResponses"
android:dropDownWidth="150dp"/>
Upvotes: 2
Reputation: 27515
I think you have to define custom adapter for Spinner
Steps :
Spinner
see this tutorial
Upvotes: 0
Reputation: 4375
In the adapter that you have created for spinner add this
adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
Upvotes: 0