I'm new to android and struggling in changing the height of the dropdown list's height of a spinner. I'm using the following code to inflate my spinner.
code
String[] fil_array = { "Starts with", "Contains" };
ArrayAdapter<String> m_FilterAdap = new ArrayAdapter<String>(
Mse_Customer.this, android.R.layout.simple_spinner_item, fil_array);
m_Filter.setAdapter(m_FilterAdap);
Please can anyone guide me how to achieve it. Please have a look over the attached image for more clarity. The second image working correctly with the same type of code.Really confused why it is happening.

