DropDown Spinner Alignment
问题 I develop an Adroid application. So i want to customize programmatically the behavior of DropDown Spinner. I overwrite the getDropDownView method but i cannot find anything to change the dimension of DropDown and also the alignment of it. I only change the color of each line in DropDown like this View view = this.getView(position, convertView, parent); if (position % 2 == 0) { view.setBackgroundColor(Color.YELLOW); } else { view.setBackgroundColor(Color.GRAY); } Can someone help me? Thanks