i tried a lot to change the dropdown item height of spinner.. but i couldn\'t get a good solution.. plz help me guys..
here is a code loginactivityview.xml
Maybe it can help..
ArrayAdapter yourSpinnerAdapter = new ArrayAdapter(this,
R.layout.spinner_item, yourItem) {
@Override
public View getDropDownView(int position, View convertView,
ViewGroup parent) {
convertView = super.getDropDownView(position, convertView,
parent);
convertView.setVisibility(View.VISIBLE);
ViewGroup.LayoutParams p = convertView.getLayoutParams();
p.height = 100; // set the height
convertView.setLayoutParams(p);
return convertView;
}
};