Disable hardware acceleration on map view.

This commit is contained in:
Jimmy Shih
2012-06-22 15:47:34 -07:00
parent 6ea3c5632f
commit 83121da43b
@@ -139,8 +139,10 @@ public class TrackDetailActivity extends AbstractMyTracksActivity implements Del
trackRecordingServiceConnection = new TrackRecordingServiceConnection(this, null);
trackDataHub = ((MyTracksApplication) getApplication()).getTrackDataHub();
trackDataHub.loadTrack(trackId);
mapViewContainer = getLayoutInflater().inflate(R.layout.map, null);
mapViewContainer.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
tabHost = (TabHost) findViewById(android.R.id.tabhost);
tabHost.setup();
tabManager = new TabManager(this, tabHost, R.id.realtabcontent);