Click here to Skip to main content
15,895,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi all,

Do you know, how i can resize and eventually move the the default Android keyboard in my app?

I've developed an app for android 4.0 (Samsung Galaxy Tab 2.0) and the user for variuos reasons have the tablets inside a wood box. A little part of this box covers the bottom of tablet (and the last line of the keyboard). My idea is move up the keyboard when appears, but i don't know how i can do that.

Thank you all,
Greats from Italy.

Sorry for my poor english :(
Posted
Comments
pasztorpisti 7-Apr-13 4:21am    
I'm afraid you can't do that but even if you find a hidden path to do this thing I would be against that. Your solution may work on one tablet and but may not for other android devices that have different screen sizes/layouts. For example on android phones when you tap into an editbox a special input window pops up that contains only an editbox and a keyboard. Nothing else fits on the screen. On devices with larger screen size it handles input in a different way. Its better to use native editboxes and let android to handle the input for you. You can help android by placing your editboxes/gui elements in a ways so that they remain on the screen on tablets even if the keyboard becomes visible. Another popular practice is showing dialogs to get user input - this way android is allowed to alter the position of the dialog when the keyboardopens even if you display the data on the bottom of your "main window". This dialog trick is a useful technique especially if your main gui is not built from native controls but is a rendered one (in case of games).

1 solution

Dear,

i thick its not possible it is by default try to built your own keyboard
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900