actually add ripple effect on the reader toolbar

I was pretty sure I committed this in c26c38ca3 but here we are

It was just square ripple at first, but adding a new drawable with padding
This commit is contained in:
Jays2Kings 2021-03-27 20:32:42 -04:00
parent ebb33025f1
commit 477db48b61
2 changed files with 5 additions and 1 deletions

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:end="96dp" android:start="48dp" android:drawable="@drawable/square_ripple"/>
</layer-list>

View File

@ -56,7 +56,7 @@
android:id="@+id/toolbar" android:id="@+id/toolbar"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize" android:layout_height="?attr/actionBarSize"
android:background="@android:color/transparent" /> android:background="@drawable/reader_toolbar_ripple" />
</FrameLayout> </FrameLayout>
</FrameLayout> </FrameLayout>