Did you ever have any luck positioning the SoftKeyboard? I'm working
on a keyboard that needs to be aligned to the right side of the
screen, and haven't been able to get any of the layout options such as
gravity=right or layout_alignParentRight="true"  to work.

Tim


On Mar 4, 2:48 am, Aracos <[email protected]> wrote:
> Hi everyone,
> For an Android 1.5 device I need to implement a new Soft Input (SoftKeyboard) 
> that is not located at either side of the Screen but rather
> at a corner. I have the layout ready but I can’t get the
> InputMethodManager to locate my input Method View to be displayed
> before the Activity without resizing it and positioning it at the
> corner.
> What I have done:
> -       I implemented my own SoftKeyboardusing the SoftKeyboardSample
> from the Android 1.5 SDK. The View used to display thekeyboardnow
> holds my own layout.
> -       My SoftKeyboard class (derived from InputMethod) sets  the layout to
> WRAP_CONTENT for width and height.
> onEvaluateFullscreenMode() always returns false since I don’t want /
> need id.
> The problem is, that my SoftKeyboardis now located within the center
> of the Screen rather than at one corner and the Actvity scrolls down
> when I reach the height of my SoftKeyboardalthough it would be
> displayed correctly besides it.
> I hope I made myself clear because, unfortunately, I can’t post any
> codes or screenshots here for confidentiality reasons.
>
> Thank you all for your help, it is greatly appreciated.
>
> Kai aka Aracos

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