Skip to content

Commit

Permalink
Added proper menu to chat tab
Browse files Browse the repository at this point in the history
  • Loading branch information
daneren2005 committed May 24, 2013
1 parent 4963016 commit 1342c51
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions subsonic-android/res/menu/chat.xml
Original file line number Diff line number Diff line change
@@ -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>
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public void onPause() {

@Override
public void onCreateOptionsMenu(Menu menu, com.actionbarsherlock.view.MenuInflater menuInflater) {
menuInflater.inflate(R.menu.empty, menu);
menuInflater.inflate(R.menu.chat, menu);
}

@Override
Expand Down

0 comments on commit 1342c51

Please sign in to comment.