Questions tagged [softkeys]

47 questions
173
votes
15 answers

Android soft keyboard covers EditText field

Is there a way to make the screen scroll to allow the text field to be seen?
Alexis
  • 23,545
  • 19
  • 104
  • 143
22
votes
4 answers

How Get height of the Status Bar and Soft Key Buttons Bar?

Is there a way in Android to get the size of the soft buttons bar and status bar togheter? or a way to go get the screen height without the height of both these bars? (they are not always the same, look at the nexus 7 for example)
Joske369
  • 505
  • 1
  • 6
  • 18
9
votes
1 answer

Android HTML form 'done' button sofkeyboard

I am opening a facebook login page in WebView when user select login field soft keyboard appears. I would like to have a done key button on the soft keyboard, how to do it? I know we can add the done button by the following code attached with edit…
d-man
  • 57,473
  • 85
  • 212
  • 296
9
votes
2 answers

change soft keys background from black to transparent in android app

I want to change the soft keys(Not sure about name of these buttons all together) background from black to transparent in my app so that users will get a complete visibility of items in listview in my app. I found this feature in Google photos…
Anees U
  • 1,077
  • 1
  • 12
  • 20
6
votes
2 answers

How to track the down arrow button in virtual keyboard?

In the above figure i want to listen for down arrow( i have marked it in red colour, the key one which is used to hide the keyboard). I have tried to get it action through menu options, viewconfiguration class etc. But it is not useful. Is there…
Sanal Varghese
  • 1,465
  • 4
  • 23
  • 46
5
votes
5 answers

J2ME Soft Key Wrapper

Reading some articles, told me that soft keys varies between devices. Some says -6 or -21 for left soft key and -7 or -22 for right soft key. Given this situation, is there any good wrapper or function or best practice to handle it properly? If not…
ariefbayu
  • 21,849
  • 12
  • 71
  • 92
4
votes
2 answers

Android Soft-Key-Buttons hide view's content

I'm having troubles with layouts being too large on Devices with Soft-Key-Buttons on Android: Summing up, my question is why a layout, which is configured as "match_parent" has its View-bounds extended to the "real" bottom window bound, instead of…
4
votes
0 answers

Emulate Back Button with overlay in Android

I have a rooted Android device and want to replace the softkeys with an own overlay. This works with the app "full!screen" but I want to do this in my own app. I searched and found some questions here but there were no answers to them. I figured out…
PdXY
  • 136
  • 1
  • 2
  • 12
2
votes
1 answer

BottomNavigationView's height get increased when soft keyboard is visible in the screen. How to fix it's height?

I have been trying to add BottomNavigationView to a screen. Normally it works as expected but when the keyboard is visible in the screen the height of the BottomNavigationView gets increased unexpectedly. What I want is to fix the height so that it…
2
votes
0 answers

How do I hide the softkeys of an android tablet when an Alert dialog is showing?

I have my activity on fullscreen using this code: getWindow().getDecorView().setSystemUiVisibility( View.SYSTEM_UI_FLAG_LAYOUT_STABLE | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION |…
2
votes
1 answer

How to hide softkeys in fullscreen mode for Samsung device in Android app

My app has an option to go into fullscreen mode. Users of device Samsung Galaxy S7 Edge report to me that the navigation soft buttons are displayed in this case and do never vanish when the app is in fullscreen. Here is the code I am…
Alex
  • 343
  • 2
  • 13
2
votes
0 answers

How Do I Set The Focus On Any Letter On The Android Software Keyboard?

I need to set the focus over any letter of the soft-keyboard after i show it. Actually, some devices do it by default, but some others doesn't, and i need to do it on those devices that doesn't focus a letter. I'm using an USB Control which comes…
Ivan Verges
  • 595
  • 3
  • 10
  • 25
2
votes
1 answer

Android: How can I add a menu softkey to the standard softkey bar?

I'm developing an app and I'm having problems to make my menu accessible on devices with no menu hardkey. I have found that the recommended solution for this is to use an ActionBbar. But I have started to develop this app quite a while ago and…
Recek
  • 1,258
  • 13
  • 16
2
votes
4 answers

SYSTEM_UI_FLAG_LOW_PROFILE doesn't work

I have one Activity which has content view having its root view as FrameLayout, i want to hide bottom bar's soft keys for which i have added following code inside onCreate of myActivity but it doesn't effect anything. FrameLayout frameLayout =…
RPB
  • 16,006
  • 16
  • 55
  • 79
2
votes
2 answers

Find out if device has softkeys

In recent versions of Android it's possible for devices to either have software or hardware buttons. I'd like to find out which is the case for the device my app is running on. Some background information: It is possible to hide the softkeys as they…
Julian
  • 2,051
  • 2
  • 22
  • 30
1
2 3 4