From 8cd99dd8ca8aa602434944ad1771f2858ebb68d4 Mon Sep 17 00:00:00 2001 From: Christopher Eby Date: Sat, 22 May 2010 16:21:52 -0500 Subject: [PATCH] Hide the controls when the search box is visible --- src/org/kreed/vanilla/SongSelector.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/org/kreed/vanilla/SongSelector.java b/src/org/kreed/vanilla/SongSelector.java index d8700316..31d1d041 100644 --- a/src/org/kreed/vanilla/SongSelector.java +++ b/src/org/kreed/vanilla/SongSelector.java @@ -569,6 +569,8 @@ public class SongSelector extends PlaybackActivity implements AdapterView.OnItem { mSearchBoxVisible = visible; mSearchBox.setVisibility(visible ? View.VISIBLE : View.GONE); + if (mControls != null) + mControls.setVisibility(visible ? View.GONE : View.VISIBLE); if (visible) mSearchBox.requestFocus(); }