I need to create an android shape so that only the bottom has stroke (a dashed line). When I try the following, the stroke bisects the shape right through the center. Does a
I think you do not need to use shape if I understood you.
If you are looking as shown in following image then use following layout.
EDIT
play with these properties you will get result
android:top="dimension" android:right="dimension" android:bottom="dimension" android:left="dimension"
try like this