I can\'t seem to get a customized divider, using a Drawable I\'ve defined, to work when using a ListActivity and not creating a custom ListView. It al
ListActivity
ListView
To set divider in listview programatically:
These code put inside in your .java Class
ListView lv = (ListView) findViewById(R.id.lv); lv.setDivider(getResources().getDrawable(R.drawable.drawable_divider)); lv.setDividerHeight(1);
Creating Drawable: {res > drawable > drawable_divider.xml}