开发者

IME window overlap cursor in Edittext, how to prevent it?

I'm using Edittext and it has images and texts. Then, I add image file on Edittext and I click Edittext, IME window shows, naturally. ( * At that time cursor is located at right-bottom corner of added image file.) The problem is IME window overlap cursor, so users complain that 'where is my cursor?'

How to prevent that IME window ov开发者_运维问答erlap cursor?


You could try "adjustResize" on your activity. In your AndroidManifest file

<activity android:name="MyActivity" android:windowSoftInputMode="adjustResize"></activity>

There are other values for windowSoftInputMode that you could also try, e.g. "adjustPan".

See http://developer.android.com/guide/topics/manifest/activity-element.html#wsoft

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜