Skip to content
This repository was archived by the owner on Jul 25, 2024. It is now read-only.

Commit 06f1e04

Browse files
kunall17niftynei
authored andcommitted
Show Soft Keyboard on tapping a message
1 parent 882a2ee commit 06f1e04

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/src/main/java/com/zulip/android/activities/ZulipActivity.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
import android.view.MenuInflater;
4141
import android.view.MenuItem;
4242
import android.view.View;
43+
import android.view.inputmethod.InputMethodManager;
4344
import android.widget.AdapterView;
4445
import android.widget.AdapterView.OnItemClickListener;
4546
import android.widget.AutoCompleteTextView;
@@ -835,6 +836,7 @@ public void onNarrowFillSendBox(Message message) {
835836
if ("".equals(message.getSubject())) topicActv.requestFocus();
836837
else messageEt.requestFocus();
837838
}
839+
((InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE)).toggleSoftInput(InputMethodManager.SHOW_FORCED, InputMethodManager.HIDE_IMPLICIT_ONLY);
838840
}
839841
public void onNarrow(NarrowFilter narrowFilter) {
840842
// TODO: check if already narrowed to this particular stream/subject

0 commit comments

Comments
 (0)