mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
tell view at create time whether zoom controls are enabled so it draws
self in the right place.
This commit is contained in:
parent
4eb7f80cca
commit
2d6ddae8ce
1 changed files with 2 additions and 0 deletions
|
@ -234,6 +234,8 @@ public class BoardActivity extends Activity implements UtilCtxt {
|
|||
m_gi = new CurGameInfo( this );
|
||||
|
||||
m_view = (BoardView)findViewById( R.id.board_view );
|
||||
m_volKeysZoom = CommonPrefs.getVolKeysZoom();
|
||||
m_view.setUseZoomControl( !m_volKeysZoom );
|
||||
|
||||
Intent intent = getIntent();
|
||||
Uri uri = intent.getData();
|
||||
|
|
Loading…
Reference in a new issue