tôi đã cố gắng rất nhiều để thay đổi chiều cao mục thả xuống của spinner .. nhưng tôi không thể có được một giải pháp tốt .. plz giúp tôi guys ..làm thế nào để thay đổi chiều cao thả xuống trong spinner
đây là một mã loginactivityview.xml
<Spinner
android:id="@+id/spinnerFacility"
android:layout_width="400dip"
android:layout_height="50dip"
android:layout_alignLeft="@+id/lpassword"
android:layout_below="@+id/lpassword"
android:layout_marginTop="32dip"
android:background="@drawable/location"
android:paddingLeft="10dip"
android:dropDownWidth="@style/dropDown"
android:minHeight="40dip"
android:typeface="monospace" />
loginrowspinner.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<TextView
android:id="@+id/textViewRowFacility"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:gravity="left"
android:paddingBottom="5dip"
android:paddingLeft="6dip"
android:paddingRight="6dip"
android:paddingTop="5dip"
android:text="Facility"
android:textColor="#000000"
android:textSize="20dip" >
</TextView>
làm thế nào để thay đổi chiều cao của đơn thả xuống bất kỳ ý tưởng ..
Kiểm tra sau URL cho các giải pháp chính xác: http://stackoverflow.com/questions/8878260/how-to-re- size-the-height-of-the-items-in-spinner-với-multiple-choice – Chase1986
bạn nên đánh dấu bài đăng của John là câu trả lời. –