Java Android ripple无法获得所需的颜色

Java Android ripple无法获得所需的颜色,java,android,xml,ripple,rippledrawable,Java,Android,Xml,Ripple,Rippledrawable,ripple xml是 <ripple xmlns:android="http://schemas.android.com/apk/res/android" android:color="@color/baseWhite"> <item android:drawable="@color/baseRed" /> </ripple> 文件名为rounded\u button\u leave\u submit.xml(v-21) 按钮xml是 <

ripple xml是

<ripple xmlns:android="http://schemas.android.com/apk/res/android" 
android:color="@color/baseWhite">
    <item android:drawable="@color/baseRed" />
</ripple>

文件名为rounded\u button\u leave\u submit.xml(v-21)

按钮xml是

<Button
    android:text="Submit"
    android:layout_width="match_parent"
    android:layout_height="@dimen/edittext_button_height"
    android:id="@+id/submitLeave"
    android:textSize="@dimen/edittext_text_size"
    android:background="@drawable/rounded_button_leave_submit"/>

如您所见,纹波的默认基色为红色。纹波的颜色为白色。但是,白色不是“清晰”的白色。它在某种程度上是白色和红色组合的复合色

这里的baseWhite和baseRed只是白色(#ffffff)和红色(#d41217)的十六进制颜色代码。如何获得清晰的白色


谢谢您的时间。

@android:color/white@Wizard没有混合的红色和白色,所以你想要纯白色而不是不透明的白色?