Skip to content

Commit

Permalink
added to the function to view information about this version.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaeguly committed May 16, 2014
1 parent 8bfcb7e commit c1f579d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@ public boolean onOptionsItemSelected(MenuItem item) {
case R.id.action_clear_messages:
if (mMessageView != null)
mMessageView.setText("");

return true;

case R.id.action_detailed_info:
if (mMessageView != null)
mMessageView.setText("");

new RequestMediaInfoReportRetriever().execute();
return true;

case R.id.action_copy_clipboard:
Expand Down
7 changes: 7 additions & 0 deletions android/AndroidStudio/app/src/main/res/menu/menu_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,11 @@
android:title="@string/action_copy_clipboard"
android:orderInCategory="110"
app:showAsAction="never"/>

<item
android:id="@+id/action_detailed_info"
android:title="@string/action_detailed_info"
android:orderInCategory="110"
app:showAsAction="never"/>

</menu>
1 change: 1 addition & 0 deletions android/AndroidStudio/app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
<string name="action_cdsdata_test">Test cds-data</string>
<string name="action_clear_messages">Clear messages</string>
<string name="action_copy_clipboard">Copy to clipboard</string>
<string name="action_detailed_info">About this version</string>

</resources>

0 comments on commit c1f579d

Please sign in to comment.