I'm trying to do this for quite a long while, and when I failed I posted the question. I have nothing to specify since I do not know how to do this. I kept searching for a way and failed. The only lead I got was here, onComputeInsets<http://developer.android.com/reference/android/inputmethodservice/InputMethodService.html#onComputeInsets(android.inputmethodservice.InputMethodService.Insets)> , but I was not able to understand how to use it.
yakobom On Monday, August 6, 2012 9:41:21 AM UTC+3, Kristopher Micinski wrote: > > You would get farther by trying at doing this for a while and then showing > what you tried... > On Aug 6, 2012 1:16 AM, "Moshe Yakobovich" <[email protected]> wrote: > >> I agree, and again - if you bump into something, please let me know. I >> googled a lot and came out with nothing. Found a good example keyboard, but >> it's code is not available. >> >> yakobom >> >> On Mon, Aug 6, 2012 at 7:44 AM, Kristopher Micinski < >> [email protected]> wrote: >> >>> It's such a specific use case I'd suppose the only way to find examples >>> from other floating keyboards :) >>> On Aug 6, 2012 12:26 AM, "Moshe Yakobovich" <[email protected]> wrote: >>> >>>> Hi Kristopher, >>>> I did Google for it andI was not able to find anything, that's why I >>>> asked here again. If you happen to bump into something useful... >>>> >>>> Thanks >>>> yakobom >>>> >>>> On Sun, Aug 5, 2012 at 9:33 PM, Kristopher Micinski < >>>> [email protected]> wrote: >>>> >>>>> There's no sdk standard example for this one... maybe Google for >>>>> example source? >>>>> On Aug 5, 2012 4:10 AM, "yakobom" <[email protected]> wrote: >>>>> >>>>>> Thanks - this seems to be Helpful. According to the documentation, it >>>>>> is indeed what I need. However, I could not figure out how to use it for >>>>>> my >>>>>> goal - make my custom keyboard float. Do you have any example in mind >>>>>> that >>>>>> I could look at? >>>>>> >>>>>> Thanks, >>>>>> yakobom >>>>>> >>>>>> On Sunday, August 5, 2012 4:18:28 AM UTC+3, Dianne Hackborn wrote: >>>>>>> >>>>>>> You can use this to indicate how the application should be >>>>>>> positioned behind your IME: http://developer.android.com/** >>>>>>> reference/android/**inputmethodservice/**InputMethodService.html#** >>>>>>> onComputeInsets(android.**inputmethodservice.** >>>>>>> InputMethodService.Insets)<http://developer.android.com/reference/android/inputmethodservice/InputMethodService.html#onComputeInsets(android.inputmethodservice.InputMethodService.Insets)> >>>>>>> >>>>>>> >>>>>>> On Sat, Aug 4, 2012 at 12:35 AM, yakobom <[email protected]> wrote: >>>>>>> >>>>>>>> Hi Dianne, >>>>>>>> "If you design it to be floating so that it doesn't impact app >>>>>>>> content, you can easily put it anywhere" - can you please explain how >>>>>>>> can I >>>>>>>> do that? And, is it possible to design it so this mode will be >>>>>>>> dynamically >>>>>>>> switchable? (Meaning, the user will be able to switch between the >>>>>>>> floating >>>>>>>> and the pushing modes) >>>>>>>> >>>>>>>> Thanks, >>>>>>>> yakobom >>>>>>>> >>>>>>>> >>>>>>>> On Wednesday, August 1, 2012 7:14:50 PM UTC+3, Dianne Hackborn >>>>>>>> wrote: >>>>>>>>> >>>>>>>>> In the current platform your IME UI can only push app content up >>>>>>>>> from the bottom of the screen. If you design it to be floating so >>>>>>>>> that it >>>>>>>>> doesn't impact app content, you can easily put it anywhere (if >>>>>>>>> nothing else >>>>>>>>> make the window fill the entire screen and leave all the parts >>>>>>>>> transparent >>>>>>>>> except where you want to draw your UI), but if you want apps to >>>>>>>>> adjust >>>>>>>>> their UI to accommodate the only option is to have their content >>>>>>>>> shift up >>>>>>>>> from the bottom. >>>>>>>>> >>>>>>>>> On Wed, Oct 13, 2010 at 2:02 PM, Saied <[email protected]> wrote: >>>>>>>>> >>>>>>>>>> Hello, >>>>>>>>>> >>>>>>>>>> I am a developer and recently completed the implementation of my >>>>>>>>>> keyboard MessagEase. It's available on the Market (with its very- >>>>>>>>>> different features, making it quite unlike QWERTY). >>>>>>>>>> >>>>>>>>>> This keyboard works fine as a replacement of the standard >>>>>>>>>> keyboard on >>>>>>>>>> an Android Phone. But for a An Android Tablet, it would work best >>>>>>>>>> if >>>>>>>>>> it's implemented as a floating, movable keyboard. >>>>>>>>>> >>>>>>>>>> (the footprint of this keyboard is mostly dependable on the size >>>>>>>>>> of a >>>>>>>>>> human's finger; it remains the same even if the tablet's display >>>>>>>>>> is >>>>>>>>>> much larger than a phone's. Therefore it'll take a relatively >>>>>>>>>> smaller >>>>>>>>>> area on a tablet.) >>>>>>>>>> >>>>>>>>>> If I use the current SDK hooks, it will have to take a significant >>>>>>>>>> portion of the screen, defeating the purpose. >>>>>>>>>> >>>>>>>>>> Can someone point me to the right direction in creating a floating >>>>>>>>>> keyboard? or is it possible? >>>>>>>>>> >>>>>>>>>> Thanks. >>>>>>>>>> >>>>>>>>>> Saied Nesbat, >>>>>>>>>> Exideas (creator of MessagEase) >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> You received this message because you are subscribed to the Google >>>>>>>>>> Groups "Android Developers" group. >>>>>>>>>> To post to this group, send email to android-developers@** >>>>>>>>>> googlegroup**s.com <[email protected]> >>>>>>>>>> To unsubscribe from this group, send email to >>>>>>>>>> android-developers+**unsubscribe**@googlegroups.com<android-developers%[email protected]> >>>>>>>>>> For more options, visit this group at >>>>>>>>>> http://groups.google.com/**group**/android-developers?hl=en<http://groups.google.com/group/android-developers?hl=en> >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Dianne Hackborn >>>>>>>>> Android framework engineer >>>>>>>>> [email protected] >>>>>>>>> >>>>>>>>> Note: please don't send private questions to me, as I don't have >>>>>>>>> time to provide private support, and so won't reply to such e-mails. >>>>>>>>> All >>>>>>>>> such questions should be posted on public forums, where I and others >>>>>>>>> can >>>>>>>>> see and answer them. >>>>>>>>> >>>>>>>>> -- >>>>>>>> You received this message because you are subscribed to the Google >>>>>>>> Groups "Android Developers" group. >>>>>>>> To post to this group, send email to android-developers@** >>>>>>>> googlegroups.com <[email protected]> >>>>>>>> To unsubscribe from this group, send email to >>>>>>>> android-developers+**[email protected]<android-developers%[email protected]> >>>>>>>> For more options, visit this group at >>>>>>>> http://groups.google.com/**group/android-developers?hl=en<http://groups.google.com/group/android-developers?hl=en> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Dianne Hackborn >>>>>>> Android framework engineer >>>>>>> [email protected] >>>>>>> >>>>>>> Note: please don't send private questions to me, as I don't have >>>>>>> time to provide private support, and so won't reply to such e-mails. >>>>>>> All >>>>>>> such questions should be posted on public forums, where I and others >>>>>>> can >>>>>>> see and answer them. >>>>>>> >>>>>>> -- >>>>>> 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 >>>>> >>>>> -- >>>>> 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 >>>>> >>>> >>>> -- >>>> 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 >>> >>> -- >>> 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 >>> >> >> -- >> 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 > > -- 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

