我有以下可绘制对象:
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<gradient
android:startColor="#2F2F2F"
android:endColor="#5A5A5A"
android:angle="90"
android:dither="true"
/>
</shape>
无论如何以 50% 的 startColor 或 50% 的 endColor 开始?
是否有任何链接可以显示我可以应用于渐变的所有属性?