Reposition android virtual keyboard to right of screen in landscape mode - android

I have am developing an android app for V2.2 onwards.
The app is for numeric data input for the elderly
To keep things nice and simple, I am using the phone style input method. This also has the advantage of using nice big keys for them.
In landscape mode, I would like to move the virtual keyboard and position it on the right hand side of the view. The content itself has much more height than width and it would be perfect to have the screen split down the middle horizontally with the content on the left and the virtual keyboard on the right.
Does anyone know if this is possible?
Thanks

Related

Default Android Keyboard Positioning

I'm designing a kiosk for Android with a very tall screen. The default keyboard docked at the bottom is rather awkward given that most of the visual action happens near the top of the screen. How difficult is it to reposition the keyboard exactly where I want it.
Thanks!

AIR - Get SoftKeyboard Screen Size

In my AIR mobile application I am trying to resize my application when the softkeyboard is activated so that the bottom of my application will not be covered by the keyboard. From what I have read this is suppose to be the default behavior but I have never been able to get it to work and I have tried everything I have found online, instead the keyboard overlays ontop of the application.
I then decided I would resize my application myself based on the height and y position of the softkeyboard only to find out that the built in AIR methods for determining the height and y position of the keyboard are not correct (YAY). I even tried using a 3rd party ANE for determining the screen height by FreshPlanet and their code does not always return correct values either. I feel like this shouldn't be that hard to figure out but I am stuck. Please help!
TLDR:
How can I resize my application to be the remaining screen space when the softkeyboard is activated?
What renderMode are you using? (in manifest.xml) I found that only cpu is working to get the correct keyboard height.
Also try to set softKeyboardBehavior to none: <softKeyboardBehavior>none</softKeyboardBehavior>

[Android]How to get soft keyboard height. (Except the suggestions)

First, it's not a simple question like this quest or this quest.
I have to get soft keyboard height in my project. I used to get device screen height and subtraction it by out app root view height. However, it work correctly until my test using keyboard suggestion. Unfortunately for me, my solution did not right in this case. The number I got alway bigger than the soft keyboard height. I tried to google but fail.
Here's my picture:

Showcaseview in landscape orientation, content text overflows

I'm using the showcaseview library in my Android app to display a first time tutorial to new users. So far it's been fairly straightforward to get going; I have a number of different viewpager tabs at the top of the page that are getting consecutively showcased, which is great ... in portrait mode.
However when the device is rotated, or I start my app in landscape orientation, the title and content text that I have for my showcase is displayed at the bottom of the screen and it eventually overflows off the screen. The showcase text content isn't more than a sentence and I can't think I'm the first person to have this problem so I'm wondering if any one else has come across this and how they solved it?
I was thinking that since showcaseview calculates the best position for the text based on free canvas space that I could probably move my content up by reducing the radius of the showcase cirlce, although I have yet to try this.
Also, I don't want to restrict users by locking the orientation to portrait mode during the tutorial.
EDIT: I've temporarily settled for locking the screen to portrait orientation if I deem the height and width of the target device to be too small. It's not my ideal solution so I'm still keen to hear the thoughts of any showcaseview users out there.

Kivy keyboard height

For an app I'm creating in Kivy I would like to know the height of the keyboard, so I can position the widgets accordingly. I heard plyer (https://github.com/kivy/plyer) is good for cross-platform (I wish to develop for Android and iOS (and Windows phone)), however it seems it doesn't cover keyboard control.
How can I get the information about the height of the keyboard in Android (and iOS)? I program in Python 3 (2.7 would help as well if you don't know it in Python 3). Hardcoded keyboard height would be bad, as keyboard heights differ.
The master branch contains some new additions that let you manage this. Using Window (from kivy.core.window import Window) you have:
Window.keyboard_height gives the current height of the software keyboard
Window.softinput_mode can be any of '' (empty) in which case you can use keyboard_height as above, 'pan' in which case the kivy view is shifted upwards so the keyboard doesn't overlap, or 'resize' in which the kivy view is resized to fit the space between the keyboard top and the top of the screen.
These are in the doc for Window.
There isn't really a good way to do this in the current stable release, though maybe you could call the pan or resize modes with pyjnius.

Categories

Resources