当我尝试在棒棒糖版本上使用渐变效果时,它无法正常工作。但是在之前的所有版本中都可以正常工作。
以下是我的示例:
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient android:type="radial" android:gradientRadius="500"
android:startColor="#00417e" android:endColor="#001b34" />