Commit 36f62872 by 霍志良

feat:UI修改

parent a1bb4ddf
...@@ -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());
} }
} }
......
...@@ -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.VISIBLE); moreFuntionButtonInInputBar.setVisibility(View.GONE);
} }
/** /**
......
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