我笑脸快乐.SVG路径,但我无法找到中立的不快乐.SVG路径。
以下是代码
<!DOCTYPE html>
<html lang="en">
<head>
<title>Santosh Bokefode SVG Sample</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>
<body>
<h2>Smiley Face</h2>
<svg height="200" width="600" xmlns=http://www.w3.org/2000/svg>
<circle id="yellowcircle" cx="50" cy="50" r="50" fill="yellow"/>
<circle id="blackcircle" cx="30" cy="30" r="10" fill="black"/>
<circle id="blackcircle" cx="70" cy="30" r="10" fill="black"/>
<ellipse id="blackellipse" cx="50" cy="75" rx="20" ry="8" fill="black"/>
<ellipse id="yellowellipse" cx="50" cy="73" rx="20" ry="8" fill="yellow"/>
<g transform='translate(15,65)'>
<path d="M0,0 A40,40 10 0,0 65,0" fill=none stroke=black stroke-width=5 />
</g>
</svg>
</body>
</html>
答案 0 :(得分:0)
你想要这个结果吗?
android:clickable="true"
android:focusable="true"