I managed to figure out how to create a custom shape (with a dashed stroke) by creating a file called dash.xml inside of the /app/res/drawable/ folder:
You also need android:dividerHeight. Shapes are variable size, and right now you have a zero-height divider.
android:dividerHeight