use rounded ripples

This commit is contained in:
Bnyro 2022-10-12 20:16:35 +02:00
parent 0c09147b25
commit 51b8af4606
2 changed files with 11 additions and 1 deletions

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
android:color="?attr/colorControlHighlight">
<item android:id="@android:id/mask">
<shape android:shape="rectangle">
<solid android:color="#000000" />
<corners android:radius="15dp" />
</shape>
</item>
</ripple>

View File

@ -4,7 +4,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?android:attr/selectableItemBackground">
android:background="@drawable/rounded_ripple">
<LinearLayout
android:layout_width="match_parent"