Adjust reader navigation button ripples

This commit is contained in:
arkon 2021-03-14 16:13:18 -04:00
parent b5c2934270
commit 6fd4af8736
2 changed files with 7 additions and 3 deletions

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners android:radius="48dp" />
<corners android:radius="?attr/actionBarSize" />
<solid android:color="?attr/colorPrimary" />
</shape>

View File

@ -1,10 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
android:color="?attr/colorOnPrimary">
<item android:id="@android:id/mask">
<shape android:shape="rectangle">
<solid android:color="@android:color/white" />
<corners android:radius="48dp" />
<solid android:color="?attr/colorControlActivated" />
<corners android:radius="?attr/actionBarSize" />
</shape>
</item>
<item android:drawable="@drawable/reader_seekbar_background" />
</ripple>