Separator lines for custom spinner are not dispalyed in Lollipop <p>I am using a custom BaseAdapter to create a custom spinner where I am using </p> <pre><code>@Override public View getDropDownView(int position, View cnvtView, ViewGroup prnt) { return cnvtView; } </code></pre> <p>to display a drop down bar. But between the text items here the separator lines are displayed in android 5. This happens only for lollipop version. Not sure why is this happening. </p> <p>Also tried using </p> <pre><code> @Override public boolean areAllItemsEnabled() { return true; } @Override public boolean isEnabled(int position) { return false; </code></pre> <p>}</p> <p>Still no luck. Can any body please explain?</p>