am e7ee5bd6: Fix search UI

* commit 'e7ee5bd608b44b123cca12a9f198118927a838c7':
  Fix search UI
This commit is contained in:
Minh Pham 2011-11-10 16:14:46 +00:00 committed by Android Git Automerger
commit c40ccf4cc9
2 changed files with 4 additions and 0 deletions

View File

@ -294,6 +294,9 @@ public class ThreePaneLayout extends LinearLayout implements View.OnClickListene
if (mPaneState == STATE_RIGHT_VISIBLE) {
return changePaneState(STATE_MIDDLE_EXPANDED, true);
} else if (mInitialPaneState == STATE_RIGHT_VISIBLE) {
mInitialPaneState = STATE_MIDDLE_EXPANDED;
return true;
}
return false;

View File

@ -337,6 +337,7 @@ class UIControllerTwoPane extends UIControllerBase implements ThreePaneLayout.Ca
mThreePane.showRightPane();
} else if (mListContext.isSearch()) {
mThreePane.showRightPane();
mThreePane.uncollapsePane();
} else {
mThreePane.showLeftPane();
}