diff options
-rw-r--r-- | subsonic-android/res/menu/chat.xml | 18 | ||||
-rw-r--r-- | subsonic-android/src/github/daneren2005/dsub/fragments/ChatFragment.java | 2 |
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
|