tell view at create time whether zoom controls are enabled so it draws

self in the right place.
This commit is contained in:
eehouse 2010-04-20 02:40:00 +00:00
parent 4eb7f80cca
commit 2d6ddae8ce

View file

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