Android – 使用xml drawable制作支票图标

Android – 使用xml drawable制作支票图标,第1张

概述如何使用xml drawable制作这个形状?一直争吵已经很久了,无法完成. 这是您可以改进的模板: <?xml version="1.0" encoding="utf-8"?><layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <item android:width="30dp"

如何使用xml drawable制作这个形状?一直争吵已经很久了,无法完成.

解决方法 这是您可以改进的模板:
<?xml version="1.0" enCoding="utf-8"?><@R_511_3419@ xmlns:androID="http://schemas.androID.com/apk/res/androID">    <item        androID:wIDth="30dp"        androID:height="4dp"        androID:top="20dp">        <rotate            androID:fromdegrees="45">            <shape androID:shape="rectangle">                <solID androID:color="@androID:color/holo_orange_dark"/>            </shape>        </rotate>    </item>    <item        androID:wIDth="40dp"        androID:height="4dp"        androID:top="15dp"        androID:left="18dp">        <rotate            androID:fromdegrees="-45">            <shape androID:shape="rectangle">                <solID androID:color="@androID:color/holo_orange_dark"/>            </shape>        </rotate>    </item>    <item        androID:wIDth="50dp"        androID:height="50dp">        <shape androID:shape="rectangle">            <solID androID:color="@androID:color/transparent"/>        </shape>    </item></@R_511_3419@>
总结

以上是内存溢出为你收集整理的Android – 使用xml drawable制作支票图标全部内容,希望文章能够帮你解决Android – 使用xml drawable制作支票图标所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/web/1132793.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-30
下一篇 2022-05-30

发表评论

登录后才能评论

评论列表(0条)

保存