aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src/github/daneren2005/subphonic/activity/SearchActivity.java
diff options
context:
space:
mode:
Diffstat (limited to 'subsonic-android/src/github/daneren2005/subphonic/activity/SearchActivity.java')
-rw-r--r--subsonic-android/src/github/daneren2005/subphonic/activity/SearchActivity.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/subsonic-android/src/github/daneren2005/subphonic/activity/SearchActivity.java b/subsonic-android/src/github/daneren2005/subphonic/activity/SearchActivity.java
index a9d64fda..8bfc5b5b 100644
--- a/subsonic-android/src/github/daneren2005/subphonic/activity/SearchActivity.java
+++ b/subsonic-android/src/github/daneren2005/subphonic/activity/SearchActivity.java
@@ -147,6 +147,24 @@ public class SearchActivity extends SubsonicTabActivity {
onSearchRequested();
}
});
+
+ // Button 3: Help
+ ImageButton actionHelpButton = (ImageButton)findViewById(R.id.action_button_3);
+ actionHelpButton.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View view) {
+ startActivity(new Intent(SearchActivity.this, HelpActivity.class));
+ }
+ });
+
+ // Button 4: Settings
+ ImageButton actionSettingsButton = (ImageButton)findViewById(R.id.action_button_4);
+ actionSettingsButton.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View view) {
+ startActivity(new Intent(SearchActivity.this, SettingsActivity.class));
+ }
+ });
onNewIntent(getIntent());
}