Commit ecc381bd by 霍志良

feat:im组件升级,发送图片背景蓝色背景问题修复

parent 09573bf4
...@@ -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.61.42", "m-user" : "0.0.61.42",
"m-home" : "0.0.22.70", "m-home" : "0.0.22.70",
"m-im" : "0.0.19.75", "m-im" : "0.0.19.76",
"m-dynamic" : "0.0.7.28", "m-dynamic" : "0.0.7.28",
"m-article" : "0.0.0.10", "m-article" : "0.0.0.10",
...@@ -93,7 +93,7 @@ ext { ...@@ -93,7 +93,7 @@ ext {
"m-fm" : "0.0.30.04", "m-fm" : "0.0.30.04",
"m-user" : "0.0.61.42", "m-user" : "0.0.61.42",
"m-home" : "0.0.22.70", "m-home" : "0.0.22.70",
"m-im" : "0.0.19.75", "m-im" : "0.0.19.76",
"m-dynamic" : "0.0.7.28", "m-dynamic" : "0.0.7.28",
"m-article" : "0.0.0.8", "m-article" : "0.0.0.8",
......
...@@ -21,6 +21,7 @@ public class CustomAttachParser implements MsgAttachmentParser { ...@@ -21,6 +21,7 @@ public class CustomAttachParser implements MsgAttachmentParser {
JSONObject object = JSON.parseObject(json); JSONObject object = JSON.parseObject(json);
int type = object.getInteger(KEY_TYPE); int type = object.getInteger(KEY_TYPE);
JSONObject data = object.getJSONObject(KEY_DATA); JSONObject data = object.getJSONObject(KEY_DATA);
LogUtil.e("aaaaaaa"+type);
switch (type) { switch (type) {
case CustomAttachmentType.Guess: case CustomAttachmentType.Guess:
// attachment = new GuessAttachment(); // attachment = new GuessAttachment();
......
...@@ -116,7 +116,7 @@ public abstract class MsgViewHolderThumbBase extends MsgViewHolderBase { ...@@ -116,7 +116,7 @@ public abstract class MsgViewHolderThumbBase extends MsgViewHolderBase {
} }
private int maskBg() { private int maskBg() {
return R.drawable.im_nim_message_item_round_bg; return R.drawable.bg_shape_f8f8f8_r4_0dp;
} }
public static int getImageMaxEdge() { public static int getImageMaxEdge() {
......
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@color/color_f8f8f8" />
<corners android:radius="4dp" />
</shape>
\ No newline at end of file
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