adding ripple effect at incoming Call accept/decline buttons

This commit is contained in:
tibbi 2020-05-01 20:09:36 +02:00
parent 99fc8e5ecf
commit d66da94db2
3 changed files with 10 additions and 6 deletions

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <ripple xmlns:android="http://schemas.android.com/apk/res/android"
android:color="@color/ripple_foreground">
<item android:id="@+id/shortcut_dialpad_background"> <item android:id="@+id/shortcut_dialpad_background">
<shape android:shape="oval"> <shape android:shape="oval">
<solid android:color="@color/md_green_700" /> <solid android:color="@color/md_green_700" />
@ -12,5 +13,4 @@
android:left="@dimen/medium_margin" android:left="@dimen/medium_margin"
android:right="@dimen/medium_margin" android:right="@dimen/medium_margin"
android:top="@dimen/medium_margin" /> android:top="@dimen/medium_margin" />
</ripple>
</layer-list>

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <ripple xmlns:android="http://schemas.android.com/apk/res/android"
android:color="@color/ripple_foreground">
<item android:id="@+id/shortcut_dialpad_background"> <item android:id="@+id/shortcut_dialpad_background">
<shape android:shape="oval"> <shape android:shape="oval">
<solid android:color="@color/md_red_700" /> <solid android:color="@color/md_red_700" />
@ -12,5 +13,4 @@
android:left="@dimen/medium_margin" android:left="@dimen/medium_margin"
android:right="@dimen/medium_margin" android:right="@dimen/medium_margin"
android:top="@dimen/medium_margin" /> android:top="@dimen/medium_margin" />
</ripple>
</layer-list>

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ripple_foreground">#33FFFFFF</color>
</resources>