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
36f62872
Commit
36f62872
authored
Jul 08, 2021
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:UI修改
parent
a1bb4ddf
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
YDLMessageFragment.java
m-im/src/main/java/com/yidianling/uikit/business/session/fragment/YDLMessageFragment.java
+1
-0
InputPanel.java
m-im/src/main/java/com/yidianling/uikit/business/session/module/input/InputPanel.java
+6
-3
No files found.
m-im/src/main/java/com/yidianling/uikit/business/session/fragment/YDLMessageFragment.java
View file @
36f62872
...
@@ -1083,6 +1083,7 @@ public class YDLMessageFragment extends TFragment implements ModuleProxy {
...
@@ -1083,6 +1083,7 @@ public class YDLMessageFragment extends TFragment implements ModuleProxy {
}
else
{
}
else
{
if
(
event
.
getStrSelected
().
contains
(
"其他"
)){
if
(
event
.
getStrSelected
().
contains
(
"其他"
)){
question_multiple
.
setVisibility
(
View
.
VISIBLE
);
question_multiple
.
setVisibility
(
View
.
VISIBLE
);
question_multiple
.
setText
(
event
.
getStrSelected
().
replace
(
"、"
,
"#"
));
question_multiple
.
setText
(
event
.
getStrSelected
());
question_multiple
.
setText
(
event
.
getStrSelected
());
}
}
}
}
...
...
m-im/src/main/java/com/yidianling/uikit/business/session/module/input/InputPanel.java
View file @
36f62872
...
@@ -108,6 +108,7 @@ public class InputPanel implements IEmoticonSelectedListener, IAudioRecordCallba
...
@@ -108,6 +108,7 @@ public class InputPanel implements IEmoticonSelectedListener, IAudioRecordCallba
protected
View
emojiButtonInInputBar
;
protected
View
emojiButtonInInputBar
;
protected
View
messageInputBar
;
protected
View
messageInputBar
;
protected
View
messageEditLL
;
protected
View
messageEditLL
;
protected
FrameLayout
audioTextSwitchLayout
;
private
SessionCustomization
customization
;
private
SessionCustomization
customization
;
...
@@ -253,7 +254,7 @@ public class InputPanel implements IEmoticonSelectedListener, IAudioRecordCallba
...
@@ -253,7 +254,7 @@ public class InputPanel implements IEmoticonSelectedListener, IAudioRecordCallba
sendMessageButtonInInputBar
=
view
.
findViewById
(
R
.
id
.
buttonSendMessage
);
sendMessageButtonInInputBar
=
view
.
findViewById
(
R
.
id
.
buttonSendMessage
);
messageEditText
=
view
.
findViewById
(
R
.
id
.
editTextMessage
);
messageEditText
=
view
.
findViewById
(
R
.
id
.
editTextMessage
);
messageEditLL
=
view
.
findViewById
(
R
.
id
.
ll_ed
);
messageEditLL
=
view
.
findViewById
(
R
.
id
.
ll_ed
);
audioTextSwitchLayout
=
view
.
findViewById
(
R
.
id
.
audioTextSwitchLayout
);
// 语音
// 语音
audioRecordBtn
=
view
.
findViewById
(
R
.
id
.
audioRecord
);
audioRecordBtn
=
view
.
findViewById
(
R
.
id
.
audioRecord
);
micImage
=
(
ImageView
)
view
.
findViewById
(
R
.
id
.
img_antation
);
micImage
=
(
ImageView
)
view
.
findViewById
(
R
.
id
.
img_antation
);
...
@@ -669,13 +670,15 @@ public class InputPanel implements IEmoticonSelectedListener, IAudioRecordCallba
...
@@ -669,13 +670,15 @@ public class InputPanel implements IEmoticonSelectedListener, IAudioRecordCallba
* 灵犀-点击其他时候-只显示输入框,不显示其他选项
* 灵犀-点击其他时候-只显示输入框,不显示其他选项
*/
*/
public
void
onlyShowTextStart
()
{
public
void
onlyShowTextStart
()
{
hideAudioLayout
();
showInputMethod
(
messageEditText
);
showInputMethod
(
messageEditText
);
onlyShowInputTest
=
true
;
onlyShowInputTest
=
true
;
//隐藏左边语音布局
//隐藏左边语音布局
textAudioSwitchLayout
.
setVisibility
(
View
.
INVISIBLE
);
textAudioSwitchLayout
.
setVisibility
(
View
.
INVISIBLE
);
//隐藏右边表情和加号布局
//隐藏右边表情和加号布局
emojiButtonInInputBar
.
setVisibility
(
View
.
GONE
);
emojiButtonInInputBar
.
setVisibility
(
View
.
GONE
);
moreFuntionButtonInInputBar
.
setVisibility
(
View
.
GONE
);
sendMessageButtonInInputBar
.
setVisibility
(
View
.
VISIBLE
);
messageEditText
.
setVisibility
(
View
.
VISIBLE
);
}
}
/**
/**
* 灵犀-点击其他时候-只显示输入框,不显示其他选项
* 灵犀-点击其他时候-只显示输入框,不显示其他选项
...
@@ -686,7 +689,7 @@ public class InputPanel implements IEmoticonSelectedListener, IAudioRecordCallba
...
@@ -686,7 +689,7 @@ public class InputPanel implements IEmoticonSelectedListener, IAudioRecordCallba
textAudioSwitchLayout
.
setVisibility
(
View
.
VISIBLE
);
textAudioSwitchLayout
.
setVisibility
(
View
.
VISIBLE
);
//隐藏右边表情和加号布局
//隐藏右边表情和加号布局
emojiButtonInInputBar
.
setVisibility
(
View
.
VISIBLE
);
emojiButtonInInputBar
.
setVisibility
(
View
.
VISIBLE
);
moreFuntionButtonInInputBar
.
setVisibility
(
View
.
VISIBL
E
);
moreFuntionButtonInInputBar
.
setVisibility
(
View
.
GON
E
);
}
}
/**
/**
...
...
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