I\'m trying to figure out how to define a vertical line (1dp thick) to be used as a drawable.
To make a horizontal one, it\'s pretty straightforward:
Depends, where you want to have the vertical line, but if you want a vertical border for example, you can have the parent view have a background a custom drawable. And you can then define the drawable like this:
-
-
This example will create a 1dp thin black line on the right side of the view, that will have this drawable as an background.