mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-30 10:26:58 +01:00
add about menu to opening dialog
This commit is contained in:
parent
38ed6c925b
commit
7e20bd1a30
2 changed files with 11 additions and 4 deletions
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue