Download maps hierarchy work in progress.

This commit is contained in:
GaidamakUA 2015-09-23 16:50:43 +03:00
parent 35cfedbe6c
commit 0cb42f0442
2 changed files with 19 additions and 15 deletions

View file

@ -66,7 +66,9 @@
android:id="@+id/fragmentContainer" android:id="@+id/fragmentContainer"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"/> android:layout_height="match_parent"/>
<View
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</FrameLayout> </FrameLayout>
<ListView <ListView

View file

@ -1,19 +1,6 @@
package net.osmand.plus.development; package net.osmand.plus.development;
import java.text.SimpleDateFormat;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;
import net.osmand.plus.ApplicationMode;
import net.osmand.plus.OsmAndLocationSimulation;
import net.osmand.plus.OsmandApplication;
import net.osmand.plus.R;
import net.osmand.plus.activities.SettingsBaseActivity;
import net.osmand.plus.activities.actions.AppModeDialog;
//import net.osmand.plus.development.OsmandDevelopmentPlugin;
import net.osmand.util.SunriseSunset;
import android.app.AlertDialog; import android.app.AlertDialog;
import android.app.AlertDialog.Builder; import android.app.AlertDialog.Builder;
import android.content.Intent; import android.content.Intent;
@ -26,6 +13,21 @@ import android.preference.Preference.OnPreferenceClickListener;
import android.preference.PreferenceScreen; import android.preference.PreferenceScreen;
import android.view.View; import android.view.View;
import net.osmand.plus.ApplicationMode;
import net.osmand.plus.OsmAndLocationSimulation;
import net.osmand.plus.OsmandApplication;
import net.osmand.plus.R;
import net.osmand.plus.activities.SettingsBaseActivity;
import net.osmand.plus.activities.actions.AppModeDialog;
import net.osmand.util.SunriseSunset;
import java.text.SimpleDateFormat;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;
//import net.osmand.plus.development.OsmandDevelopmentPlugin;
public class SettingsDevelopmentActivity extends SettingsBaseActivity { public class SettingsDevelopmentActivity extends SettingsBaseActivity {
@ -67,7 +69,7 @@ public class SettingsDevelopmentActivity extends SettingsBaseActivity {
pref.setTitle(R.string.simulate_your_location); pref.setTitle(R.string.simulate_your_location);
updateTitle.run(); updateTitle.run();
pref.setKey("simulate_your_location"); pref.setKey("simulate_your_location");
sim.isRouteAnimating() sim.isRouteAnimating();
pref.setOnPreferenceClickListener(new OnPreferenceClickListener() { pref.setOnPreferenceClickListener(new OnPreferenceClickListener() {
@Override @Override
public boolean onPreferenceClick(Preference preference) { public boolean onPreferenceClick(Preference preference) {