aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-05-23 21:23:27 -0700
committerScott Jackson <daneren2005@gmail.com>2013-05-23 21:23:27 -0700
commit1342c51656c498a480e440bda479c134fb4969a4 (patch)
tree67906137706654246b64e6c067189471c54a177d /subsonic-android
parent4963016fd6022db53766b439e5bc5d33b6bbca49 (diff)
downloaddsub-1342c51656c498a480e440bda479c134fb4969a4.tar.gz
dsub-1342c51656c498a480e440bda479c134fb4969a4.tar.bz2
dsub-1342c51656c498a480e440bda479c134fb4969a4.zip
Added proper menu to chat tab
Diffstat (limited to 'subsonic-android')
-rw-r--r--subsonic-android/res/menu/chat.xml18
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/fragments/ChatFragment.java2
2 files changed, 19 insertions, 1 deletions
diff --git a/subsonic-android/res/menu/chat.xml b/subsonic-android/res/menu/chat.xml
new file mode 100644
index 00000000..e0f9a718
--- /dev/null
+++ b/subsonic-android/res/menu/chat.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<menu xmlns:android="http://schemas.android.com/apk/res/android">
+ <item
+ android:id="@+id/menu_refresh"
+ android:icon="@drawable/action_refresh"
+ android:title="@string/menu.refresh"
+ android:showAsAction="always|withText"/>
+
+ <item
+ android:id="@+id/menu_settings"
+ android:icon="@drawable/action_settings"
+ android:title="@string/menu.settings"/>
+
+ <item
+ android:id="@+id/menu_exit"
+ android:icon="@drawable/action_exit"
+ android:title="@string/menu.exit"/>
+</menu> \ No newline at end of file
diff --git a/subsonic-android/src/github/daneren2005/dsub/fragments/ChatFragment.java b/subsonic-android/src/github/daneren2005/dsub/fragments/ChatFragment.java
index 44114681..38628fe8 100644
--- a/subsonic-android/src/github/daneren2005/dsub/fragments/ChatFragment.java
+++ b/subsonic-android/src/github/daneren2005/dsub/fragments/ChatFragment.java
@@ -136,7 +136,7 @@ public class ChatFragment extends SubsonicFragment {
@Override
public void onCreateOptionsMenu(Menu menu, com.actionbarsherlock.view.MenuInflater menuInflater) {
- menuInflater.inflate(R.menu.empty, menu);
+ menuInflater.inflate(R.menu.chat, menu);
}
@Override