Commit 4e1f2a07 by 霍志良

feat:ui验收,BUG修改

parent 734b6ee3
...@@ -10,7 +10,7 @@ ext { ...@@ -10,7 +10,7 @@ ext {
"m-fm" : "0.0.30.04", "m-fm" : "0.0.30.04",
"m-user" : "0.0.62.02", "m-user" : "0.0.62.02",
"m-home" : "0.0.23.16", "m-home" : "0.0.23.16",
"m-im" : "0.0.21.26", "m-im" : "0.0.21.27",
"m-dynamic" : "0.0.7.35", "m-dynamic" : "0.0.7.35",
"m-article" : "0.0.0.10", "m-article" : "0.0.0.10",
...@@ -97,7 +97,7 @@ ext { ...@@ -97,7 +97,7 @@ ext {
"m-fm" : "0.0.30.07", "m-fm" : "0.0.30.07",
"m-user" : "0.0.62.02", "m-user" : "0.0.62.02",
"m-home" : "0.0.22.98", "m-home" : "0.0.22.98",
"m-im" : "0.0.21.26", "m-im" : "0.0.21.27",
"m-dynamic" : "0.0.7.35", "m-dynamic" : "0.0.7.35",
"m-article" : "0.0.0.8", "m-article" : "0.0.0.8",
......
...@@ -3,6 +3,7 @@ package com.yidianling.im.ui.page.fragment.view ...@@ -3,6 +3,7 @@ package com.yidianling.im.ui.page.fragment.view
import android.content.Context import android.content.Context
import android.text.Html import android.text.Html
import android.view.View import android.view.View
import android.view.ViewGroup
import android.widget.LinearLayout import android.widget.LinearLayout
import com.netease.nimlib.sdk.NIMClient import com.netease.nimlib.sdk.NIMClient
import com.netease.nimlib.sdk.team.TeamService import com.netease.nimlib.sdk.team.TeamService
...@@ -103,6 +104,10 @@ class ChatItemView(mContext: Context) : LinearLayout(mContext) { ...@@ -103,6 +104,10 @@ class ChatItemView(mContext: Context) : LinearLayout(mContext) {
chat_message_unread_num.visibility = View.GONE chat_message_unread_num.visibility = View.GONE
} }
}else{ }else{
val layoutParams: ViewGroup.LayoutParams = chat_message_unread_num.getLayoutParams()
layoutParams.height = 36
layoutParams.width = 36
chat_message_unread_num.setLayoutParams(layoutParams)
not_disturb.visibility=View.VISIBLE not_disturb.visibility=View.VISIBLE
if (bean.unReadNum > 0){ if (bean.unReadNum > 0){
chat_message_unread_num.visibility=View.VISIBLE chat_message_unread_num.visibility=View.VISIBLE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment