mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-14 08:01:38 +01:00
remove game config activity's menu. It was down to one item and that
(revert) isn't needed if the confirm logic is working.
This commit is contained in:
parent
bf0fef5947
commit
a219b4ae37
4 changed files with 0 additions and 32 deletions
|
@ -1,7 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
|
|
||||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
|
||||||
<item android:id="@+id/game_config_revert"
|
|
||||||
android:title="@string/game_config_revert"
|
|
||||||
/>
|
|
||||||
</menu>
|
|
|
@ -18,7 +18,6 @@
|
||||||
<string name="menu_delete">Suprimeix</string>
|
<string name="menu_delete">Suprimeix</string>
|
||||||
<string name="menu_insert">Afegeix una partida</string>
|
<string name="menu_insert">Afegeix una partida</string>
|
||||||
<string name="button_new_game">Afegeix una partida</string>
|
<string name="button_new_game">Afegeix una partida</string>
|
||||||
<string name="menu_revert">Reverteix</string>
|
|
||||||
|
|
||||||
<!-- <string name="list_item_open">Obre</string> -->
|
<!-- <string name="list_item_open">Obre</string> -->
|
||||||
<string name="list_item_view">Configura</string>
|
<string name="list_item_view">Configura</string>
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
<string name="menu_delete">Delete</string>
|
<string name="menu_delete">Delete</string>
|
||||||
<string name="menu_insert">Add game</string>
|
<string name="menu_insert">Add game</string>
|
||||||
<string name="button_new_game">Add game</string>
|
<string name="button_new_game">Add game</string>
|
||||||
<string name="menu_revert">Revert changes</string>
|
|
||||||
|
|
||||||
<string name="list_item_config">Configure</string>
|
<string name="list_item_config">Configure</string>
|
||||||
<string name="list_item_hide">Hide</string>
|
<string name="list_item_hide">Hide</string>
|
||||||
|
|
|
@ -475,29 +475,6 @@ public class GameConfig extends Activity implements View.OnClickListener {
|
||||||
return handled;
|
return handled;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean onCreateOptionsMenu( Menu menu )
|
|
||||||
{
|
|
||||||
MenuInflater inflater = getMenuInflater();
|
|
||||||
inflater.inflate( R.menu.game_config_menu, menu );
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean onOptionsItemSelected( MenuItem item )
|
|
||||||
{
|
|
||||||
boolean handled = true;
|
|
||||||
|
|
||||||
switch( item.getItemId() ) {
|
|
||||||
case R.id.game_config_revert:
|
|
||||||
finish();
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
handled = false;
|
|
||||||
}
|
|
||||||
return handled;
|
|
||||||
} // onOptionsItemSelected
|
|
||||||
|
|
||||||
public void onClick( View view )
|
public void onClick( View view )
|
||||||
{
|
{
|
||||||
if ( m_addPlayerButton == view ) {
|
if ( m_addPlayerButton == view ) {
|
||||||
|
|
Loading…
Reference in a new issue