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
This answer is for those google searchers who want to show dotted bottom border of EditText like here
EditText
Create dotted.xml inside drawable folder and paste these
dotted.xml
drawable
Then simply set the android:background attribute to dotted.xml we just created. Your EditText looks like this.
android:background