improved external emoji
This commit is contained in:
parent
3091b5901b
commit
b2e9a0f2c1
|
@ -26,6 +26,7 @@ import android.view.View
|
||||||
import android.view.ViewGroup
|
import android.view.ViewGroup
|
||||||
import android.widget.TextView
|
import android.widget.TextView
|
||||||
import org.mariotaku.ktextension.applyFontFamily
|
import org.mariotaku.ktextension.applyFontFamily
|
||||||
|
import org.mariotaku.ktextension.spannable
|
||||||
import org.mariotaku.twidere.R
|
import org.mariotaku.twidere.R
|
||||||
import org.mariotaku.twidere.adapter.ParcelableActivitiesAdapter
|
import org.mariotaku.twidere.adapter.ParcelableActivitiesAdapter
|
||||||
import org.mariotaku.twidere.adapter.iface.IActivitiesAdapter
|
import org.mariotaku.twidere.adapter.iface.IActivitiesAdapter
|
||||||
|
@ -94,8 +95,8 @@ class ActivityTitleSummaryViewHolder(
|
||||||
}
|
}
|
||||||
activityTypeView.setColorFilter(message.color, PorterDuff.Mode.SRC_ATOP)
|
activityTypeView.setColorFilter(message.color, PorterDuff.Mode.SRC_ATOP)
|
||||||
activityTypeView.setImageResource(message.icon)
|
activityTypeView.setImageResource(message.icon)
|
||||||
titleView.text = message.title
|
titleView.spannable = message.title
|
||||||
summaryView.text = message.summary
|
summaryView.spannable = message.summary
|
||||||
summaryView.visibility = if (summaryView.length() > 0) View.VISIBLE else View.GONE
|
summaryView.visibility = if (summaryView.length() > 0) View.VISIBLE else View.GONE
|
||||||
timeView.time = activity.timestamp
|
timeView.time = activity.timestamp
|
||||||
if (adapter.showAccountsColor) {
|
if (adapter.showAccountsColor) {
|
||||||
|
|
Loading…
Reference in New Issue