优化:修改消费码输入框为密码模式,添加显示/隐藏密码切换功能
This commit is contained in:
@@ -4,8 +4,20 @@
|
|||||||
android:height="24dp"
|
android:height="24dp"
|
||||||
android:viewportWidth="24"
|
android:viewportWidth="24"
|
||||||
android:viewportHeight="24">
|
android:viewportHeight="24">
|
||||||
<!-- 斜线 -->
|
<!-- 眼睛轮廓上半部分 -->
|
||||||
<path
|
<path
|
||||||
android:fillColor="@android:color/black"
|
android:fillColor="@android:color/transparent"
|
||||||
android:pathData="M1,4.27L3.28,6.55L3.02,7.04C1.71,8.97 1,11.25 1,12s0.73,4.02 2.02,5.96l0.26,0.44C2.98,20.88 7.45,24 12,24c1.38,0 2.74,-0.35 3.97,-0.98l0.36,0.36l2.27,2.27l1.41,-1.41L2.41,2.86 1,4.27zM7.53,9.8l1.55,1.55c-0.05,0.21 -0.08,0.43 -0.08,0.65 0,1.66 1.34,3 3,3 0.22,0 0.44,-0.03 0.65,-0.08l1.55,1.55c-0.67,0.33 -1.41,0.53 -2.2,0.53 -2.76,0 -5,-2.24 -5,-5 0,-0.79 0.2,-1.53 0.53,-2.2zM11.84,9.02l3.15,3.15 0.02,-0.16c0,-1.66 -1.34,-3 -3,-3l-0.17,0.01zM23,12c0,0.75 -0.73,4.02 -2.02,5.96l-0.26,0.44C21.02,20.88 16.55,24 12,24c-1.38,0 -2.74,-0.35 -3.97,-0.98l-0.36,-0.36 -2.27,-2.27 -1.41,1.41 19.59,19.59 1.41,-1.41L23,12zM12,7c2.76,0 5,2.24 5,5 0,0.65 -0.13,1.26 -0.36,1.83l2.92,2.92c1.51,-1.26 2.63,-2.82 3.12,-4.75h-5.15c-0.03,-0.02 -0.06,-0.02 -0.09,-0.02s-0.06,0 -0.09,0.02h-5.15c0.49,1.93 1.61,3.49 3.12,4.75l2.92,-2.92C13.26,13.26 13.13,12.65 13.13,12 13.13,9.24 15.37,7 18.13,7z" />
|
android:strokeColor="@android:color/black"
|
||||||
|
android:strokeWidth="1.5"
|
||||||
|
android:strokeLineCap="round"
|
||||||
|
android:strokeLineJoin="round"
|
||||||
|
android:pathData="M 3 12 Q 12 18 21 12" />
|
||||||
|
<!-- 眼睛轮廓下半部分 -->
|
||||||
|
<path
|
||||||
|
android:fillColor="@android:color/transparent"
|
||||||
|
android:strokeColor="@android:color/black"
|
||||||
|
android:strokeWidth="1.5"
|
||||||
|
android:strokeLineCap="round"
|
||||||
|
android:strokeLineJoin="round"
|
||||||
|
android:pathData="M 3 12 Q 12 6 21 12" />
|
||||||
</vector>
|
</vector>
|
||||||
|
|||||||
@@ -4,12 +4,26 @@
|
|||||||
android:height="24dp"
|
android:height="24dp"
|
||||||
android:viewportWidth="24"
|
android:viewportWidth="24"
|
||||||
android:viewportHeight="24">
|
android:viewportHeight="24">
|
||||||
<!-- 眼睛轮廓 -->
|
<!-- 眼睛轮廓上半部分 -->
|
||||||
<path
|
<path
|
||||||
android:fillColor="@android:color/black"
|
android:fillColor="@android:color/transparent"
|
||||||
android:pathData="M12,4.5C7,4.5 2.73,7.61 1,12c1.73,4.39 6,7.5 11,7.5s9.27,-3.11 11,-7.5c-1.73,-4.39 -6,-7.5 -11,-7.5zM12,17c-2.76,0 -5,-2.24 -5,-5s2.24,-5 5,-5 5,2.24 5,5 -2.24,5 -5,5z" />
|
android:strokeColor="@android:color/black"
|
||||||
<!-- 眼睛瞳孔 -->
|
android:strokeWidth="1.5"
|
||||||
|
android:strokeLineCap="round"
|
||||||
|
android:strokeLineJoin="round"
|
||||||
|
android:pathData="M 3 12 Q 12 5 21 12" />
|
||||||
|
<!-- 眼睛轮廓下半部分 -->
|
||||||
<path
|
<path
|
||||||
android:fillColor="@android:color/black"
|
android:fillColor="@android:color/transparent"
|
||||||
android:pathData="M12,9c-1.66,0 -3,1.34 -3,3s1.34,3 3,3 3,-1.34 3,-3 -1.34,-3 -3,-3z" />
|
android:strokeColor="@android:color/black"
|
||||||
|
android:strokeWidth="1.5"
|
||||||
|
android:strokeLineCap="round"
|
||||||
|
android:strokeLineJoin="round"
|
||||||
|
android:pathData="M 3 12 Q 12 19 21 12" />
|
||||||
|
<!-- 瞳孔 -->
|
||||||
|
<circle
|
||||||
|
android:cx="12"
|
||||||
|
android:cy="12"
|
||||||
|
android:r="2.5"
|
||||||
|
android:fillColor="@android:color/black" />
|
||||||
</vector>
|
</vector>
|
||||||
|
|||||||
Reference in New Issue
Block a user