I have an Android app with a touch listener that detects touch events to my app. This works fine for areas within my app, but when the on screen keyboard is activated that the user touches it, I don't get these touch events. Is it possible to obtain these touch events as well?
On a related note, what type of View element are on screen keyboards? Are they system overlays?
You can use
android:windowSoftInputMode="adjustPan"
or
android:windowSoftInputMode="adjustResize"
It will move your layout above the keyboard or resize it respectively.
Hope it helps.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.