Android AlertDialog divider not showing everywhere -


i'm displaying simple dialogfragment alertdialog , simple list.

public dialog oncreatedialog(bundle savedinstancestate) {       alertdialog.builder builder = new alertdialog.builder(getactivity());       builder.setitems(times, new dialoginterface.onclicklistener() {         public void onclick(dialoginterface dialog, int which) {         }       });       builder.settitle("select end date");       alertdialog alertdialog = builder.create();       listview listview = alertdialog.getlistview();       listview.setdivider(new colordrawable(color.black));       listview.setdividerheight(1);       return alertdialog;     }   } 

but can see on picture bellow, not diver black ?? me normal divider between items ? enter image description here


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -