Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Soft keyboard pushes EditView out of sight [solved]

Soft keyboard pushes EditView out of sight [solved]

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Soft keyboard pushes EditView out of sight [solved]

Postby metter » Thu May 28, 2009 2:09 pm

Hello

I have yet another problem...

How do I setup elements so that they are not pushed off the screen when the softkeyboard is launched?
I have an editText aligned with "ParentTop", and another on aligned with "ParentBottom". Now when I press the lower one, the top one gets pushed off the screen because the softKeyboard moves everything up.

How can I avoid that?


Thank you.

Cheers
Last edited by metter on Thu May 28, 2009 2:34 pm, edited 1 time in total.
metter
Junior Developer
Junior Developer
 
Posts: 16
Joined: Tue Jan 06, 2009 2:00 pm

Top

Postby metter » Thu May 28, 2009 2:33 pm

Solved.

If someone else has the same problem:

Use this.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE);

This sets the window so that it is resized instead of scrolled when the keyboard is shown.


Cheers
metter
Junior Developer
Junior Developer
 
Posts: 16
Joined: Tue Jan 06, 2009 2:00 pm

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 6 guests