28 lines
1.0 KiB
XML
28 lines
1.0 KiB
XML
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||
android:width="108dp"
|
||
android:height="108dp"
|
||
android:viewportWidth="108"
|
||
android:viewportHeight="108">
|
||
<!-- 表盘环:留一个小缺口,暗示"正在走"而不是"已停" -->
|
||
<path
|
||
android:pathData="M54,26 A28,28 0 1 1 53.99,26"
|
||
android:strokeColor="#FFFFFF"
|
||
android:strokeWidth="7"
|
||
android:strokeLineCap="round"
|
||
android:fillColor="#00000000" />
|
||
<!-- 指针固定为 10:10:时针左上、分针右上,长短比例与角度都按真实钟面绘制 -->
|
||
<path
|
||
android:pathData="M54,54 L43,46"
|
||
android:strokeColor="#FFFFFF"
|
||
android:strokeWidth="6.5"
|
||
android:strokeLineCap="round" />
|
||
<path
|
||
android:pathData="M54,54 L71,40"
|
||
android:strokeColor="#FFFFFF"
|
||
android:strokeWidth="5"
|
||
android:strokeLineCap="round" />
|
||
<path
|
||
android:fillColor="#FFFFFF"
|
||
android:pathData="M54,50.8 m-3.2,0 a3.2,3.2 0 1,0 6.4,0 a3.2,3.2 0 1,0 -6.4,0" />
|
||
</vector>
|