use superclass's setContentView()

This commit is contained in:
Eric House 2014-04-15 06:26:55 -07:00
parent 0ae63c37ac
commit 1cf7e70091
2 changed files with 2 additions and 3 deletions

View file

@ -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 );

View file

@ -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 );