Android Search dialog in lanscape orientation

nowe

New Member
I'm using an android search dialog in my app, and it works fine in Portrait orientation. But as soon as you flip to landscape orientation the searchpage xml appears to be covered by a large white dialog box. If you do a search, the box is still there, and you hit the back button on the device or emulator, the large white box slides away and there are your search results. It seems like somehere in the code a layout width is set to fill_parent or something. I've looked around for a solution and someone suggested adding \[code\]android:imeOptions="flagNoExtractUi"\[/code\] to seachable.xml in the xml folder, but that doesn't seem to have any effect. I've discovered that it's the \[code\]onSearchRequested();\[/code\] method that is throwing up that white box that fills the screen. And it also may have something to do with the fact that the software keyboard isn't called when in landscape, vertical orientation.
 
Back
Top