Apply proper color to expand/collapse icon

This commit is contained in:
Naveen 2022-08-29 04:43:56 +05:30
parent 4f809426bb
commit 2fa6e2513f
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,7 @@ import com.bumptech.glide.load.engine.DiskCacheStrategy
import com.bumptech.glide.load.resource.bitmap.RoundedCorners import com.bumptech.glide.load.resource.bitmap.RoundedCorners
import com.bumptech.glide.load.resource.drawable.DrawableTransitionOptions import com.bumptech.glide.load.resource.drawable.DrawableTransitionOptions
import com.bumptech.glide.request.RequestOptions import com.bumptech.glide.request.RequestOptions
import com.simplemobiletools.commons.extensions.applyColorFilter
import com.simplemobiletools.commons.extensions.getProperTextColor import com.simplemobiletools.commons.extensions.getProperTextColor
import com.simplemobiletools.commons.extensions.getTextSize import com.simplemobiletools.commons.extensions.getTextSize
import com.simplemobiletools.commons.extensions.onGlobalLayout import com.simplemobiletools.commons.extensions.onGlobalLayout
@ -81,6 +82,7 @@ class VCardViewerAdapter(
.transition(DrawableTransitionOptions.withCrossFade()) .transition(DrawableTransitionOptions.withCrossFade())
.into(this) .into(this)
} }
expand_collapse_icon.applyColorFilter(textColor)
setOnClickListener { setOnClickListener {
expandOrCollapseRow(view, item) expandOrCollapseRow(view, item)
} }