Hi,

I'm trying to develop a new input method on Android 2.1, and have got
the basics working, but I want to make my IM work in fullscreen-mode
even when the device is portrait (I'm using a Nexus One atm). If I
override onEvaluateFullscreenMode to always return true, I can get an
extract view (at the top of the screen, just beneath the status bar),
and a candidates view if I want it (just beneath that), and my main
input view at the bottom of the screen; but there's always a gap,
between the top of my main input view, and the bottom of the
candidates view, through which the application shows (even if I set
the imeFullscreenBackground attribute to a colour, which I then don't
see). The size of the gap varies according to the size of the other
views, etc., but is always at least 30 or so pixels high - if I make
the input view & candidates view big enough, it'll squash the extract
view up to next-to-nothing or remove it altogether to make space....

Anyone got a full-screen IME (in portrait mode!) working, and can tell
me how to do it? I've tried using HierarchyViewer to see if I can get
some idea of what's going on, but wasn't able to get the hierarchy at
all (debugging activities is easier than IMEs, hehe!); and I've had a
look at some source code for InputMethodService.java (the base class
I'm overriding) and come out none the wiser (perhaps I need to look at
the XML?)

Any help/info/pointers appreciated,

TIA, Alan

-- 
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

Reply via email to