I've just started developing an IME keyboard and am not able to use dump its view hierarchy for analysis. Every I use Android Device Monitor or DDMS to dump the view hierarchy while the keyboard is showing, I only get a dump of the activity in focus, even if it is part of the same APK and package.
How do I get the dump of the keyboard?