mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
use superclass's setContentView()
This commit is contained in:
parent
0ae63c37ac
commit
1cf7e70091
2 changed files with 2 additions and 3 deletions
|
@ -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 );
|
||||
|
|
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue