1. Download our Official Android App: Forums for Android!

ROMs [Q] AOSP 4.1.2 - Soft Keyboard Not Displaying Correctly?

Discussion in 'Android Development' started by djmatt604, Jan 23, 2013.

  1. djmatt604

    djmatt604 Lurker
    Thread Starter
    Jan 2, 2013

    Jan 2, 2013
    Hi all:

    I have compiled AOSP 4.1.2 for the Galaxy Tab 10.1 Wifi (GT-P7510) and have encountered an interesting issue with the soft keyboard. For some strange reason, when I touch a text entry field and the soft keyboard appears on the screen, it seems to paint incorrectly. rather than spanning the entire width of the display, it seems to be "squished" over to the left a bit and there is maybe a half-inch of empty gray space showing in the display to the right of the keyboard. However, the thing that makes it more interesting is that the actual digitizer mappings for the keyboard seem correct. As a result, I have to press somewhere between O and P for example to get an O to appear, trying to press L does a K or I, etc. The problem does seem to lie with how the UI is painting the keyboard onto the screen.

    I've tried installing an alternate keyboard to see if it was specific to LatinIME but it doesn't seem to be...no matter what keyboard I use, the issue remains.

    I've checked in my device and vendor trees used to build the ROM, and can't find anything that appears to be setting anything related. Can someone toss an idea at me about what to check next? Is it a bad lib maybe, or something else that needs to be tweaked in the source or kernel? I'm fairly new to this and haven't encountered anything like it. I've successfully built AOSP 4.0.4 and never saw this type of behavior.

    Would greatly appreciate any leads anyone can provide in terms of what I can check out next. I'll keep grinding in the meantime :) Thanks so much in advance for any help!


Share This Page