diff options
author | Scott Jackson <daneren2005@gmail.com> | 2012-07-07 12:57:43 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2012-07-07 12:57:43 -0700 |
commit | 2aa05996d9476dce6d71912105d496a64fb3a0a0 (patch) | |
tree | 94e7846d6cd06de874011901f66ead999bb58aaa /subsonic-android/src/github/daneren2005/subphonic/activity | |
parent | 858e7f513c6ecf2e575b6fd6120f6effbef09420 (diff) | |
download | dsub-2aa05996d9476dce6d71912105d496a64fb3a0a0.tar.gz dsub-2aa05996d9476dce6d71912105d496a64fb3a0a0.tar.bz2 dsub-2aa05996d9476dce6d71912105d496a64fb3a0a0.zip |
Removed dedicated search tab
Diffstat (limited to 'subsonic-android/src/github/daneren2005/subphonic/activity')
-rw-r--r-- | subsonic-android/src/github/daneren2005/subphonic/activity/SubsonicTabActivity.java | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/subsonic-android/src/github/daneren2005/subphonic/activity/SubsonicTabActivity.java b/subsonic-android/src/github/daneren2005/subphonic/activity/SubsonicTabActivity.java index 81145264..f682dba8 100644 --- a/subsonic-android/src/github/daneren2005/subphonic/activity/SubsonicTabActivity.java +++ b/subsonic-android/src/github/daneren2005/subphonic/activity/SubsonicTabActivity.java @@ -62,7 +62,6 @@ public class SubsonicTabActivity extends Activity { private boolean destroyed; private View homeButton; private View musicButton; - private View searchButton; private View playlistButton; private View nowPlayingButton; @@ -100,16 +99,6 @@ public class SubsonicTabActivity extends Activity { } }); - searchButton = findViewById(R.id.button_bar_search); - searchButton.setOnClickListener(new View.OnClickListener() { - @Override - public void onClick(View view) { - Intent intent = new Intent(SubsonicTabActivity.this, SearchActivity.class); - intent.putExtra(Constants.INTENT_EXTRA_REQUEST_SEARCH, true); - Util.startActivityWithoutTransition(SubsonicTabActivity.this, intent); - } - }); - playlistButton = findViewById(R.id.button_bar_playlists); playlistButton.setOnClickListener(new View.OnClickListener() { @Override @@ -132,8 +121,6 @@ public class SubsonicTabActivity extends Activity { homeButton.setEnabled(false); } else if (this instanceof SelectAlbumActivity || this instanceof SelectArtistActivity) { musicButton.setEnabled(false); - } else if (this instanceof SearchActivity) { - searchButton.setEnabled(false); } else if (this instanceof SelectPlaylistActivity) { playlistButton.setEnabled(false); } else if (this instanceof DownloadActivity || this instanceof LyricsActivity) { @@ -239,7 +226,6 @@ public class SubsonicTabActivity extends Activity { private void updateButtonVisibility() { int visibility = Util.isOffline(this) ? View.GONE : View.VISIBLE; - searchButton.setVisibility(visibility); } public void setProgressVisible(boolean visible) { |