diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-07-15 20:41:32 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-07-15 20:41:32 +0200 |
commit | 177e802a77b30ae5e703f93f36da4a35d7720a05 (patch) | |
tree | d1ed3d023286b7b4cc6073c087e10cb5134edb95 /src/eu/siacs/conversations/ui/ConversationFragment.java | |
parent | e20842608b76f59d56600e88d786c4ae7a01b5c8 (diff) |
fixed #276
Diffstat (limited to '')
-rw-r--r-- | src/eu/siacs/conversations/ui/ConversationFragment.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/ui/ConversationFragment.java b/src/eu/siacs/conversations/ui/ConversationFragment.java index 01bab7731..a21246af6 100644 --- a/src/eu/siacs/conversations/ui/ConversationFragment.java +++ b/src/eu/siacs/conversations/ui/ConversationFragment.java @@ -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); |