Fixed toolbar popup options not visible in multi-select mode in Light mode

This commit is contained in:
Prathamesh More 2021-11-13 22:06:50 +05:30
parent e216591419
commit b2dbfd3083
2 changed files with 10 additions and 0 deletions

View file

@ -1,5 +1,6 @@
package code.name.monkey.retromusic.adapter.base
import android.annotation.SuppressLint
import android.graphics.Color
import android.view.Menu
import android.view.MenuItem
@ -94,6 +95,7 @@ abstract class AbsMultiSelectAdapter<V : RecyclerView.ViewHolder?, I>(
notifyDataSetChanged()
}
@SuppressLint("StringFormatInvalid", "StringFormatMatches")
private fun updateCab() {
if (ICabHolder != null) {
if (cab == null || !cab!!.isActive()) {

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.appcompat.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="?actionBarSize"
android:elevation="@dimen/mcab_toolbar_elevation"
android:theme="@style/ThemeOverlay.Material3.ActionBar"
tools:ignore="UnusedAttribute" />