tags:

views:

10

answers:

0

Hi All,

I found that when EditText in placing at the bottom of screen, and the activity's android:windowSoftInputMode="adjustPan", and the apps run in ldpi(240*320) mode, then when EditText has focus, the content of the activity is panned too far to the above, thus leaving a blank screen between the content of the window and the soft input panel.

You can see the screenshot of this problem at https://sites.google.com/site/wilderwang/android

Also, the source code to repro this problem can also be get at above link.

When I test further, if the same apps run in hdpi(480*800), when EditText got focus, the content of the window panned too small thus causing the soft input window cover the EditText view. It seems the distance of the window panned not compute the screen density.

Is this a known bug? Any method to workaround this?

This problem can happened on 1.5, 1.6 and 2.1

Thanks

Wilder