This commit is contained in:
iNPUTmice 2014-07-15 20:41:32 +02:00
parent e20842608b
commit 177e802a77

View file

@ -183,6 +183,15 @@ public class ConversationFragment extends Fragment {
final View view = inflater.inflate(R.layout.fragment_conversation,
container, false);
chatMsg = (EditText) view.findViewById(R.id.textinput);
chatMsg.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
if (activity.getSlidingPaneLayout().isSlideable()) {
activity.getSlidingPaneLayout().closePane();
}
}
});
ImageButton sendButton = (ImageButton) view
.findViewById(R.id.textSendButton);