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"?> <?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" <shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle"> android:shape="rectangle">
<corners android:radius="48dp" /> <corners android:radius="?attr/actionBarSize" />
<solid android:color="?attr/colorPrimary" /> <solid android:color="?attr/colorPrimary" />
</shape> </shape>

View File

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