1
2
3
4
5
6
7
8
9
10
11
12
| <?xml version="1.0" encoding="utf-8"?>
| <layer-list xmlns:android="http://schemas.android.com/apk/res/android">
| <!-- 通过设置负的左右边距来扩展绘制区域,数值需大于等于目标虚线高度 -->
| <item
| android:left="-300dp"
| android:right="-300dp">
| <rotate
| android:drawable="@drawable/dash_line_horizontal"
| android:fromDegrees="90"
| android:toDegrees="90" />
| </item>
| </layer-list>
|
|