diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardDelegate.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardDelegate.java index 096645b2e..8ce8cec95 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardDelegate.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardDelegate.java @@ -527,7 +527,7 @@ public class BoardDelegate extends DelegateBase m_utils = new BoardUtilCtxt(); m_jniu = JNIUtilsImpl.get( m_activity ); - m_activity.setContentView( R.layout.board ); + setContentView( R.layout.board ); m_timers = new TimerRunnable[4]; // needs to be in sync with // XWTimerReason m_view = (BoardView)m_activity.findViewById( R.id.board_view ); diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/StudyListDelegate.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/StudyListDelegate.java index 222bad3fc..98964c5d5 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/StudyListDelegate.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/StudyListDelegate.java @@ -73,8 +73,7 @@ public class StudyListDelegate extends DelegateBase private void init( Bundle savedInstanceState ) { - - m_activity.setContentView( R.layout.studylist ); + setContentView( R.layout.studylist ); m_list = (ListView)m_activity.findViewById( android.R.id.list ); m_spinner = (Spinner)m_activity.findViewById( R.id.pick_lang_spinner );