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
114024fa
Commit
114024fa
authored
Jul 06, 2021
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:只有其他选项的时候,展示。其他文字顶上去
parent
2124990c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
YDLMessageFragment.java
m-im/src/main/java/com/yidianling/uikit/business/session/fragment/YDLMessageFragment.java
+2
-0
im_ydl_nim_message_fragment.xml
m-im/src/main/res_uikit/layout/im_ydl_nim_message_fragment.xml
+1
-0
No files found.
m-im/src/main/java/com/yidianling/uikit/business/session/fragment/YDLMessageFragment.java
View file @
114024fa
...
...
@@ -1076,10 +1076,12 @@ public class YDLMessageFragment extends TFragment implements ModuleProxy {
inputPanel
.
onlyShowTextEnd
();
}
if
(
event
.
getStrSelected
().
contains
(
"其他"
)){
question_multiple
.
setVisibility
(
View
.
VISIBLE
);
question_multiple
.
setText
(
event
.
getStrSelected
());
}
}
else
{
if
(
event
.
getStrSelected
().
contains
(
"其他"
)){
question_multiple
.
setVisibility
(
View
.
VISIBLE
);
question_multiple
.
setText
(
event
.
getStrSelected
());
}
}
...
...
m-im/src/main/res_uikit/layout/im_ydl_nim_message_fragment.xml
View file @
114024fa
...
...
@@ -600,6 +600,7 @@
android:textColor=
"@color/im_color_242424"
android:layout_gravity=
"bottom"
android:maxLines=
"3"
android:visibility=
"gone"
android:id=
"@+id/question_multiple"
tools:text=
"已选:#工作压力 #生活压力#其他"
android:layout_marginStart=
"@dimen/platform_dp_12"
...
...
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