【发布时间】:2010-09-23 23:46:44
【问题描述】:
我有以下可绘制对象:
<?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 开始?
是否有任何链接可以显示我可以应用于渐变的所有属性?
【问题讨论】:
标签: android styles gradient drawable