From c2877e03172d68af0a0eacd56ac0f5d4c67c6f26 Mon Sep 17 00:00:00 2001 From: liugl <liugl@sinata.cn> Date: 星期一, 02 十一月 2020 15:57:24 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- app/src/main/java/com/okgoincar/slab/event/SlabHistoryEventAdapter.kt | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/app/src/main/java/com/okgoincar/slab/event/SlabHistoryEventAdapter.kt b/app/src/main/java/com/okgoincar/slab/event/SlabHistoryEventAdapter.kt index 2927060..b3abb8a 100644 --- a/app/src/main/java/com/okgoincar/slab/event/SlabHistoryEventAdapter.kt +++ b/app/src/main/java/com/okgoincar/slab/event/SlabHistoryEventAdapter.kt @@ -30,8 +30,11 @@ private fun setblack(itemView: View, nowTimeBlack: Boolean) { if (nowTimeBlack){ + itemView.tv_time.textColor(context,R.color.write) + itemView.rl_main.setBackgroundResource(R.color.slab_gray) }else{ - + itemView.tv_time.textColor(context,R.color.black) + itemView.rl_main.setBackgroundResource(R.color.B8B8) } } -- Gitblit v1.7.1