Android:透明渐变

时间:2011-03-28 12:36:43

标签: android

我有一个列表活动......

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

这是每行所需的渐变。但是没有选择器....如何获得选择器?如何使这种颜色透明?感谢...

0 个答案:

没有答案