diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/GamesListDelegate.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/GamesListDelegate.java index 9e80ffb34..978d0f0e0 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/GamesListDelegate.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/GamesListDelegate.java @@ -998,10 +998,9 @@ public class GamesListDelegate extends ListDelegateBase super.invalidateOptionsMenuIf(); if ( !XWPrefs.getHideNewgameButtons( m_activity ) ) { - int vis = 0 == m_selGames.size() && 1 >= m_selGroupIDs.size() - ? View.VISIBLE : View.GONE; + boolean enabled = 0 == m_selGames.size() && 1 >= m_selGroupIDs.size(); for ( Button button : m_newGameButtons ) { - button.setVisibility( vis ); + button.setEnabled( enabled ); } } }