button点击效果
<Button android:text="送快递放假" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="?android:attr/selectableItemBackgroundBorderless" />
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
android:color="#FF21272B">
<item android:drawable="@drawable/shape1" />
</ripple>
<Button android:text="送快递放假" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@drawable/ripple" />
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> <solid android:color="#8cc476" /> <corners android:radius="0dp" /> </shape>