Re: [android-developers] Problem with windowSoftInputMode=adjustResize in landcape mode

2012-05-21 Thread Miha Valencic
Dianne, Kostya, I can confirm that the method that the browser uses fixes this issue. I've added an override to the view: @Override *public* InputConnection onCreateInputConnection(EditorInfo outAttrs) { InputConnection connection = *super*.onCreateInputConnection(outAttrs);

Re: [android-developers] Problem with windowSoftInputMode=adjustResize in landcape mode

2012-05-20 Thread Miha Valencic
Although I still have not checked the browser sources, I have created a simple repro here: https://github.com/skyflyer/SoftKeyboard I've also added a binary here: https://github.com/skyflyer/SoftKeyboard/blob/master/build/KeyboardDemo.apk What I don't really get is why is this working as it is

Re: [android-developers] Problem with windowSoftInputMode=adjustResize in landcape mode

2012-05-18 Thread Miha Valencic
Kostya, I will try ASAP. I'm currently struggling with adb issue (my sgs2 got OTA update to ICS, and now Ubuntu does not 'see' the device so can't test on the device. The emulator has it's own issues with soft keyboard. On Thu, May 17, 2012 at 12:39 PM, Kostya Vasilyev kmans...@gmail.comwrote:

Re: [android-developers] Problem with windowSoftInputMode=adjustResize in landcape mode

2012-05-18 Thread saran vonteddu
Hi Dear, try giving onConfiguration change in AndroidManifest for that activity. May b it'll work. regards, Saran On Fri, May 18, 2012 at 11:41 AM, Miha Valencic miha.valen...@gmail.comwrote: Kostya, I will try ASAP. I'm currently struggling with adb issue (my sgs2 got OTA update to

Re: [android-developers] Problem with windowSoftInputMode=adjustResize in landcape mode

2012-05-18 Thread Miha Valencic
Kostya, fixed the ICS connectivity issue. Even with flagNoExtractUi flag set on my view, the behaviour is the same. Dianne, you mentioned the browser app ' does set a flag with the IME to tell it that it would like it to try harder to not go into extract mode'. Is this the flag you were talking

Re: [android-developers] Problem with windowSoftInputMode=adjustResize in landcape mode

2012-05-18 Thread Kostya Vasilyev
I'm not Dianne, but will point out that Browser sources are available in the public repository. -- K 18.05.2012 14:00, Miha Valencic ???: Kostya, fixed the ICS connectivity issue. Even with flagNoExtractUi flag set on my view, the behaviour is the same. Dianne, you mentioned the

Re: [android-developers] Problem with windowSoftInputMode=adjustResize in landcape mode

2012-05-18 Thread Miha Valencic
:) tnx. I'll have a look. Miha On May 18, 2012 5:33 PM, Kostya Vasilyev kmans...@gmail.com wrote: I'm not Dianne, but will point out that Browser sources are available in the public repository. -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Problem with windowSoftInputMode=adjustResize in landcape mode

2012-05-17 Thread Kostya Vasilyev
2012/5/17 Miha Valencic miha.valen...@gmail.com In newer versions of Android, the browser does set a flag with the IME to tell it that it would like it to try harder to not go into extract mode, but that is a flag it explicitly sets because it knows it can handle getting into a situation

Re: [android-developers] Problem with windowSoftInputMode=adjustResize in landcape mode

2012-05-17 Thread Miha Valencic
Kostya, You could try: http://developer.android.com/reference/android/widget/TextView.html#attr_android:imeOptions flagNoExtractUi there is not TextView or EditText view. To explain further: I have a GLSurfaceView (well, a custom view derived from GLSurfaceView), which shows the remote pc

Re: [android-developers] Problem with windowSoftInputMode=adjustResize in landcape mode

2012-05-17 Thread Kostya Vasilyev
Following the code in EditText (actually, TextView), to see how android:imeOptions value is used, brings us here: https://github.com/android/platform_frameworks_base/blob/master/core/java/android/widget/TextView.java#L5605 @Override public InputConnection onCreateInputConnection(EditorInfo

Re: [android-developers] Problem with windowSoftInputMode=adjustResize in landcape mode

2012-05-16 Thread Dianne Hackborn
What IME are you using? In the standard IME, when in portrait mode on a small screen device, it displays full screen and does not adjust the size of the underlying app because there is no need to because it can't be see (so the IME is in extract mode to display the text being edited itself).

Re: [android-developers] Problem with windowSoftInputMode=adjustResize in landcape mode

2012-05-16 Thread Miha Valencic
Hi Dianne! On Wed, May 16, 2012 at 6:32 PM, Dianne Hackborn hack...@android.comwrote: What IME are you using? In the standard IME, when in portrait mode on a small screen device, it displays full screen and does not adjust the size of the underlying app because there is no need to because it