Questions tagged [android-virtual-keyboard]

63 questions
0
votes
3 answers

How to detect when virtual keyboar of a SearchView is dismissed

I wanna call mSearchView.clearFocus() when virtual keyboard is dismissed, how to do that? My problem is once the SearchView gets focused, it keeps focused, so if I dismissed the virtual keyboard using back button, and I opened an AlertDialog - for…
Jack
  • 693
  • 1
  • 7
  • 25
0
votes
0 answers

How to build custom keyboard that would display right under focused text field in Android Studio?

can anyone teach me how to configure Android keyboard? I want the keyboard to display right underneath the text field when it is focused. I am assuming I need to undock the keyboardView container first, then display it underneath the text field. And…
Sam
  • 89
  • 6
0
votes
0 answers

setImeActionLabel or setImeOptions not work, i always have caption "DONE" on the return key

I have an EditText and I try to change the caption of the return key show on the virtual keyboard like this : editText.setSingleLine; editText.setImeActionLabel("GO", IME_ACTION_GO); editText.setImeOptions(IME_ACTION_GO); But strangely i have…
0
votes
0 answers

Android keyboard for non support language

I am developing a keyboard for a new language that is not supported by android. I have design fonts that are to be used. How can I use the font to design keyboard in Andriod?
yabets
  • 77
  • 7
0
votes
1 answer

How To Know When App Goes To Background

Introduction Note, the solution provided in the link below did not help me solve my problem: How to detect when an Android app goes to the background and come back to the foreground Hallo Stack Overflow Community I am trying to create simple Android…
0
votes
1 answer

android - handle virtual keyboard enter key behaviour

I have five edittext in my layout. by default when i click on any of the edittext the virtual keyboard shows like following Is it possible to modify the behavior of enter key ? I want when the key pressed the focus should be transferred to next…
0
votes
1 answer

Android - Creating a virtual keyboard base on the canvas

I'm new to Android and i'm not sure about where to start for the creation of a virtual keyboard. I read things about foreground services, but this is still confuse in my mind. Is a foreground service the right way to create a virtual keyboard ? If…
Virus721
  • 8,061
  • 12
  • 67
  • 123
0
votes
1 answer

Hiding the virtual keyboard but have a fully functional cursor

I'm currently developing a calculator app where I have made a custom keypad and would like to hide the virtual keyboard. I have found solutions where I can hide it, but the cursor also gets hidden. The functionality I want is the same as the…
0
votes
1 answer

I want to display toast message after click on enter key on virtual keyboard

please find the updated code below. Following is the code: package com.Wase.edittext; import android.app.Activity; import android.os.Bundle; import android.view.KeyEvent; import android.view.View; import android.view.View.OnKeyListener; import…
Shashank
  • 21
  • 7
0
votes
0 answers

Hitting enter at virtual keyboard does not fire any event at all

Here is my code: searchEditText.setOnKeyListener(new OnKeyListener() { public boolean onKey(View v, int keyCode, KeyEvent event) { if (event.getAction() == KeyEvent.ACTION_DOWN) { …
Adam Varhegyi
  • 11,307
  • 33
  • 124
  • 222
0
votes
1 answer

Virtual keyboard disappears briefly on anchor click

I've created a text field component comprising a regular text field and a clear (x) button next to it. This is the mark-up:
Ja͢ck
  • 170,779
  • 38
  • 263
  • 309
0
votes
2 answers

Detect type of virtual keyboard-android

I have an android application which handles input from Standard keyboard differently from input given by Swype keyboard. Is there any way to programmatically find out which keyboard is currently being used? Thanks!
0
votes
2 answers

Layout in background is getting intracted when tap on foreground layout Android

I am designing a Tab based Android application and using Fragment. My first fragment Layout have few Edittexts and on navigating to other fragment which don't have any EditTexts, on tap is getting Virtual keypad to appear. And after few hours of…
0
votes
1 answer

Android SearchView: search again when spyglass key is pressed

I am using a SearchView widget to search text in a ListView. When entering text a virtual keyboard opens. I want to repeat the search when the "spyglass key" is pressed. How can I intercept the virtual keyboard key events? Note: do not confuse the…
ilomambo
  • 8,290
  • 12
  • 57
  • 106
0
votes
3 answers

How to Hide virtual keyboard when clicking out side in Android

I am following this tutorial. The code is working fine for one editText. But now I have many (nearly 10) EditText fields. If I repeat this code for every field, the code will be lengthy. Can anybody let me know how to disable a virtual keyboard…
user1556566