How to Detect Soft Keyboard / Resize?

2811 views
Skip to first unread message

Rob

unread,
May 7, 2009, 6:27:31 AM5/7/09
to Android Developers
Hi,

How can you detect when the soft keyboard is enabled and the layout
resized?

Thanks.

Yusuf T. Mobile

unread,
May 8, 2009, 3:21:18 PM5/8/09
to Android Developers
I have bad news and good news. There is no direct API to detect this.
But you can detect if your layout is forcibly changed by Android due
to the soft keyboard [dis]appearing, which you can detect.


Yusuf Saib
Android
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.
Reply all
Reply to author
Forward
0 new messages