Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨凯
YDL-Component-Medical
Commits
ecc381bd
Commit
ecc381bd
authored
Aug 16, 2021
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:im组件升级,发送图片背景蓝色背景问题修复
parent
09573bf4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
3 deletions
+11
-3
config.gradle
config.gradle
+2
-2
CustomAttachParser.java
m-im/src/main/java/com/yidianling/im/session/extension/CustomAttachParser.java
+1
-0
MsgViewHolderThumbBase.java
m-im/src/main/java/com/yidianling/uikit/business/session/viewholder/MsgViewHolderThumbBase.java
+1
-1
bg_shape_f8f8f8_r4_0dp.xml
m-im/src/main/res/drawable/bg_shape_f8f8f8_r4_0dp.xml
+7
-0
No files found.
config.gradle
View file @
ecc381bd
...
...
@@ -10,7 +10,7 @@ ext {
"m-fm"
:
"0.0.30.04"
,
"m-user"
:
"0.0.61.42"
,
"m-home"
:
"0.0.22.70"
,
"m-im"
:
"0.0.19.7
5
"
,
"m-im"
:
"0.0.19.7
6
"
,
"m-dynamic"
:
"0.0.7.28"
,
"m-article"
:
"0.0.0.10"
,
...
...
@@ -93,7 +93,7 @@ ext {
"m-fm"
:
"0.0.30.04"
,
"m-user"
:
"0.0.61.42"
,
"m-home"
:
"0.0.22.70"
,
"m-im"
:
"0.0.19.7
5
"
,
"m-im"
:
"0.0.19.7
6
"
,
"m-dynamic"
:
"0.0.7.28"
,
"m-article"
:
"0.0.0.8"
,
...
...
m-im/src/main/java/com/yidianling/im/session/extension/CustomAttachParser.java
View file @
ecc381bd
...
...
@@ -21,6 +21,7 @@ public class CustomAttachParser implements MsgAttachmentParser {
JSONObject
object
=
JSON
.
parseObject
(
json
);
int
type
=
object
.
getInteger
(
KEY_TYPE
);
JSONObject
data
=
object
.
getJSONObject
(
KEY_DATA
);
LogUtil
.
e
(
"aaaaaaa"
+
type
);
switch
(
type
)
{
case
CustomAttachmentType
.
Guess
:
// attachment = new GuessAttachment();
...
...
m-im/src/main/java/com/yidianling/uikit/business/session/viewholder/MsgViewHolderThumbBase.java
View file @
ecc381bd
...
...
@@ -116,7 +116,7 @@ public abstract class MsgViewHolderThumbBase extends MsgViewHolderBase {
}
private
int
maskBg
()
{
return
R
.
drawable
.
im_nim_message_item_round_bg
;
return
R
.
drawable
.
bg_shape_f8f8f8_r4_0dp
;
}
public
static
int
getImageMaxEdge
()
{
...
...
m-im/src/main/res/drawable/bg_shape_f8f8f8_r4_0dp.xml
0 → 100644
View file @
ecc381bd
<?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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment