Skip to content

Commit

Permalink
Add an 'About' action to the action bar options
Browse files Browse the repository at this point in the history
  • Loading branch information
jnovinger committed Apr 27, 2016
1 parent 77bace5 commit 0c8d6aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions app/src/main/res/menu/menu_list.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@
xmlns:tools="http://schemas.android.com/tools" tools:context=".ListActivity">
<item android:id="@+id/action_settings" android:title="@string/action_settings"
android:orderInCategory="100" app:showAsAction="never" />
<item android:id="@+id/action_about" android:title="@string/action_about"
android:orderInCategory="200" app:showAsAction="never" />
</menu>
2 changes: 1 addition & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<resources>
<string name="app_name">DemoReader</string>

<string name="hello_world">Hello world!</string>
<string name="action_about">About</string>
<string name="action_settings">Settings</string>
</resources>

0 comments on commit 0c8d6aa

Please sign in to comment.