Sorry if this sounds annoyingly persistent but what is the use of TOUCHABLE_INSETS_REGION constant in the first place? I thought it's supposed to limit the touchable regions in the input view of the soft keyboard. Is this wrong?
On Feb 17, 3:32 pm, Jim Andresakis <[email protected]> wrote: > I think she means that as long as you use the android keyboard without > totally creating your own from scratch you wont be able to register > touch events any where other than on the keyboard while its in view. > > On Feb 16, 10:17 pm,tsukishiroyamazaki <[email protected]> > wrote: > > > > > > > > > Hi Dianne, > > > By "not supported" do you mean the TOUCHABLE_INSETS_REGION constant > > field? > > If so, why is it mentioned under InputMethodService.Insets? > > (refer > > tohttp://developer.android.com/reference/android/inputmethodservice/Inp...) > > > On Feb 17, 11:15 am, Dianne Hackborn <[email protected]> wrote: > > > > Sorry, this is not supported. > > > > On Thu, Feb 16, 2012 at 3:55 PM,tsukishiroyamazaki <[email protected] > > > > > wrote: > > > > Can anyone help me with this one? If it's hard to imagine, you can > > > > refer to my rough sketch below. > > > > > ------------------ > > > > | | > > > > | | > > > > |----------------| > > > > > Let's say the above drawing is the input view for the soft keyboard. > > > > It basically is located at the bottom of the screen filling the entire > > > > width of the screen. > > > > > ------------------ > > > > | |XXXXXXXX| > > > > | |XXXXXXXX| > > > > |----------------| > > > > > Let's say the above drawing is the input view for the soft keyboard > > > > that I am planning to implement. > > > > The portion filled with 'X's is the area where my keys will be placed. > > > > So I want that this area is the only touchable region for the soft > > > > keyboard. > > > > This means that if there are any widgets (ex. button) on the Activity > > > > behind the soft keyboard, that button should be touchable/clickable > > > > provided that it is not covered by the keys in the soft keyboard. > > > > > On Feb 14, 1:24 pm,tsukishiroyamazaki <[email protected]> > > > > wrote: > > > > > Hi, > > > > > > I'm making a custom-shaped softkeyboard. I am using the softkeyboard > > > > > sample from developers.android.com. > > > > > I want that only certain parts in thekeyboardwill betouchableso I > > > > > though of using the constant field > > > > > TOUCHABLE_INSETS_REGION to set the touchableInsets member field. > > > > > However, this does not seem to be > > > > > supported in the SDK. Only the following 3 constant fields are > > > > > available : > > > > > 1. TOUCHABLE_INSETS_CONTENT > > > > > 2. TOUCHABLE_INSETS_FRAME > > > > > 3. TOUCHABLE_INSETS_VISIBLE > > > > > > Can someone help me with this problem? Has this constant field been > > > > > removed? > > > > > Thanks and best regards, > > > > > -tsukishiro > > > > > -- > > > > 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 > > > > -- > > > 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

