Vince wrote: > Thank you for your quick reply (and by the way, I bought your book, it > has been a very good help).
Glad you like it! > I haven't deal with IME yet. Thus, I > believe I didn't happen to specify adjustResize (did I?) as I ignored > this property :-). I should therefore get the "pan-and-scan" > default... which is not the case. Anyway, I should have a closer look > at IME. It's possible the default changed, or something, so you might try specifically tinkering with those activity-level IME settings. > Another clue might be the use of my LinearLayout as a ViewStub loaded > from a FrameLayout which in turn is used through the <merge> tag? It's conceivable you're tripping over a bug due to that combination of things. The only way to prove that, though, would be to create a separate project that replicated the UI, minus the stub/merge stuff, and see what happens. On the plus side, if you can demonstrate in a separate project that the stub and/or merge is causing your difficulty, it'll be a great sample to upload to http://b.android.com. Another thing to do is to fire up hierarchyviewer when you have the IME open and check the sizes of things, notably that LinearLayout with the now-shrunken background, to see if that gives you any clues. If you specifically state that you want pan-and-scan, but the LinearLayout is definitely getting resized, that would be more evidence (IMHO) of an Android bug. > I'm > probably making mistakes. If you have any piece of sample code to > provide, you'll be welcome :-) There's an IME sample or two in the source code for Version 2.1 of my original Android book: http://commonsware.com/Android/ (click Sample Code, look for an InputMethod directory in the ZIP file). At least one of them demonstrates resize versus pan-and-scan. For me, pan-and-scan was the default. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Training in Germany, 18-22 January 2010: http://bignerdranch.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

