Fixed toolbar popup options not visible in multi-select mode in Light mode
parent
e216591419
commit
b2dbfd3083
|
@ -1,5 +1,6 @@
|
||||||
package code.name.monkey.retromusic.adapter.base
|
package code.name.monkey.retromusic.adapter.base
|
||||||
|
|
||||||
|
import android.annotation.SuppressLint
|
||||||
import android.graphics.Color
|
import android.graphics.Color
|
||||||
import android.view.Menu
|
import android.view.Menu
|
||||||
import android.view.MenuItem
|
import android.view.MenuItem
|
||||||
|
@ -94,6 +95,7 @@ abstract class AbsMultiSelectAdapter<V : RecyclerView.ViewHolder?, I>(
|
||||||
notifyDataSetChanged()
|
notifyDataSetChanged()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressLint("StringFormatInvalid", "StringFormatMatches")
|
||||||
private fun updateCab() {
|
private fun updateCab() {
|
||||||
if (ICabHolder != null) {
|
if (ICabHolder != null) {
|
||||||
if (cab == null || !cab!!.isActive()) {
|
if (cab == null || !cab!!.isActive()) {
|
||||||
|
|
|
@ -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" />
|
Loading…
Reference in New Issue