0
点赞
收藏
分享

微信扫一扫

【Android】一些经典的drawable样式案例(持续更新)

禾木瞎写 2022-06-23 阅读 63


一些经典的drawable样式案例

  • 透明渐变底色

【Android】一些经典的drawable样式案例(持续更新)_xml

<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<gradient
android:startColor="#22000000"
android:endColor="#88000000"
android:angle="90"/>
</shape>

【Android】一些经典的drawable样式案例(持续更新)_安卓_02

<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<gradient
android:startColor="#00000000"
android:centerColor="#11000000"
android:endColor="#55000000"
android:angle="270"/>
</shape>


举报

相关推荐

0 条评论