add about menu to opening dialog

This commit is contained in:
eehouse 2010-02-01 05:45:39 +00:00
parent 38ed6c925b
commit 7e20bd1a30
2 changed files with 11 additions and 4 deletions

View file

@ -4,10 +4,14 @@
<item android:id="@+id/gamel_menu_delete_all"
android:title="@string/gamel_menu_delete_all"
/>
<item android:id="@+id/gamel_menu_prefs"
android:title="@string/gamel_menu_prefs"
/>
<item android:id="@+id/gamel_menu_view_hidden"
android:title="@string/gamel_menu_view_hidden"
/>
<item android:id="@+id/gamel_menu_prefs"
android:title="@string/gamel_menu_prefs"
/>
<item android:id="@+id/gamel_menu_about"
android:title="@string/board_menu_file_about"
android:alphabeticShortcut="A"
/>
</menu>

View file

@ -180,10 +180,13 @@ public class GamesList extends ListActivity implements View.OnClickListener {
case R.id.gamel_menu_prefs:
Intent intent = new Intent( this, PrefsActivity.class );
intent.setAction( Intent.ACTION_EDIT );
startActivity( intent );
break;
case R.id.gamel_menu_about:
Utils.about(this);
break;
case R.id.gamel_menu_view_hidden:
Utils.notImpl( this );
break;