Hack fix for searchview filter leaking to the other thread pane.

Until this get properly done, just close the view as soon as the panel slides.
It appears SearchView + SlidingPaneLayout is a bit troublesome.
captchafix
Florens Douwes 11 years ago
parent bb5753ad0f
commit 73f2646f3e
  1. 7
      Clover/app/src/main/java/org/floens/chan/ui/activity/BoardActivity.java

@ -231,6 +231,13 @@ public class BoardActivity extends BaseActivity implements AdapterView.OnItemSel
}
}
@Override
public void onPanelSlide(View view, float offset) {
super.onPanelSlide(view, offset);
searchMenuItem.collapseActionView();
}
@Override
public void onConfigurationChanged(Configuration newConfig) {
super.onConfigurationChanged(newConfig);

Loading…
Cancel
Save