# 垂直線使用XML drawable





Yes, there are workarounds, such as drawing a rectangle shape 1px thick, but that complicates the drawable XML, if it consists of multiple elements.

## 最佳答案