Ripple effect on watchlist/holdings add button

This commit is contained in:
Tanguy Herbron 2018-07-23 23:44:44 +02:00
parent 188d924c18
commit 533aea5bb6

View File

@ -1,6 +1,15 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android"> <ripple xmlns:android="http://schemas.android.com/apk/res/android"
<item> android:color="@color/separationColor">
<item android:id="@android:id/mask">
<shape android:shape="rectangle">
<solid android:color="@color/separationColor" />
<corners android:radius="2dp" />
</shape>
</item>
<item android:id="@android:id/background">
<shape android:shape="rectangle"> <shape android:shape="rectangle">
<solid android:color="@color/transparent"/> <solid android:color="@color/transparent"/>
<corners android:radius="2dp"/> <corners android:radius="2dp"/>
@ -11,4 +20,4 @@
android:dashWidth="9dp"/> android:dashWidth="9dp"/>
</shape> </shape>
</item> </item>
</selector> </ripple>