Apply proper color to expand/collapse icon
This commit is contained in:
parent
4f809426bb
commit
2fa6e2513f
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue