Small changes
This commit is contained in:
parent
c2c531f25a
commit
b8b10ef45b
3 changed files with 1 additions and 13 deletions
|
@ -12,7 +12,6 @@
|
||||||
|
|
||||||
<fragment
|
<fragment
|
||||||
android:id="@+id/MapFragment"
|
android:id="@+id/MapFragment"
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:name="net.osmand.plus.dashboard.DashMapFragment"
|
android:name="net.osmand.plus.dashboard.DashMapFragment"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"/>
|
android:layout_height="wrap_content"/>
|
||||||
|
@ -35,14 +34,12 @@
|
||||||
android:layout_height="wrap_content"/>
|
android:layout_height="wrap_content"/>
|
||||||
<fragment
|
<fragment
|
||||||
android:id="@+id/SearchFragment"
|
android:id="@+id/SearchFragment"
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:name="net.osmand.plus.dashboard.DashSearchFragment"
|
android:name="net.osmand.plus.dashboard.DashSearchFragment"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"/>
|
android:layout_height="wrap_content"/>
|
||||||
|
|
||||||
<fragment
|
<fragment
|
||||||
android:id="@+id/FavoritesFragment"
|
android:id="@+id/FavoritesFragment"
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:name="net.osmand.plus.dashboard.DashFavoritesFragment"
|
android:name="net.osmand.plus.dashboard.DashFavoritesFragment"
|
||||||
android:layout_marginTop="@dimen/dashCardMargin"
|
android:layout_marginTop="@dimen/dashCardMargin"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
@ -50,7 +47,6 @@
|
||||||
|
|
||||||
<fragment
|
<fragment
|
||||||
android:id="@+id/NotesFragment"
|
android:id="@+id/NotesFragment"
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:name="net.osmand.plus.audionotes.DashAudioVideoNotesFragment"
|
android:name="net.osmand.plus.audionotes.DashAudioVideoNotesFragment"
|
||||||
android:layout_marginTop="@dimen/dashCardMargin"
|
android:layout_marginTop="@dimen/dashCardMargin"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
@ -74,7 +70,6 @@
|
||||||
|
|
||||||
<fragment
|
<fragment
|
||||||
android:id="@+id/UpdateFragment"
|
android:id="@+id/UpdateFragment"
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:name="net.osmand.plus.dashboard.DashUpdatesFragment"
|
android:name="net.osmand.plus.dashboard.DashUpdatesFragment"
|
||||||
android:layout_marginTop="@dimen/dashCardMargin"
|
android:layout_marginTop="@dimen/dashCardMargin"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
@ -82,7 +77,6 @@
|
||||||
|
|
||||||
<fragment
|
<fragment
|
||||||
android:id="@+id/PluginFragment"
|
android:id="@+id/PluginFragment"
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:name="net.osmand.plus.dashboard.DashPluginsFragment"
|
android:name="net.osmand.plus.dashboard.DashPluginsFragment"
|
||||||
android:layout_marginTop="@dimen/dashCardMargin"
|
android:layout_marginTop="@dimen/dashCardMargin"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
|
|
@ -11,7 +11,6 @@
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<fragment
|
<fragment
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:id="@+id/mapFragment"
|
android:id="@+id/mapFragment"
|
||||||
android:layout_marginRight="-3dp"
|
android:layout_marginRight="-3dp"
|
||||||
android:layout_marginLeft="-3dp"
|
android:layout_marginLeft="-3dp"
|
||||||
|
@ -41,7 +40,6 @@
|
||||||
<!--android:layout_height="wrap_content"/>-->
|
<!--android:layout_height="wrap_content"/>-->
|
||||||
|
|
||||||
<fragment
|
<fragment
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:id="@+id/SearchFragment"
|
android:id="@+id/SearchFragment"
|
||||||
android:name="net.osmand.plus.dashboard.DashSearchFragment"
|
android:name="net.osmand.plus.dashboard.DashSearchFragment"
|
||||||
android:layout_marginTop="@dimen/dashCardMargin"
|
android:layout_marginTop="@dimen/dashCardMargin"
|
||||||
|
@ -49,7 +47,6 @@
|
||||||
android:layout_height="wrap_content"/>
|
android:layout_height="wrap_content"/>
|
||||||
|
|
||||||
<fragment
|
<fragment
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:id="@+id/FavoritesFragment"
|
android:id="@+id/FavoritesFragment"
|
||||||
android:name="net.osmand.plus.dashboard.DashFavoritesFragment"
|
android:name="net.osmand.plus.dashboard.DashFavoritesFragment"
|
||||||
android:layout_marginTop="@dimen/dashCardMargin"
|
android:layout_marginTop="@dimen/dashCardMargin"
|
||||||
|
@ -57,7 +54,6 @@
|
||||||
android:layout_height="wrap_content"/>
|
android:layout_height="wrap_content"/>
|
||||||
|
|
||||||
<fragment
|
<fragment
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:id="@+id/NotesFragment"
|
android:id="@+id/NotesFragment"
|
||||||
android:name="net.osmand.plus.audionotes.DashAudioVideoNotesFragment"
|
android:name="net.osmand.plus.audionotes.DashAudioVideoNotesFragment"
|
||||||
android:layout_marginTop="@dimen/dashCardMargin"
|
android:layout_marginTop="@dimen/dashCardMargin"
|
||||||
|
@ -81,7 +77,6 @@
|
||||||
|
|
||||||
|
|
||||||
<fragment
|
<fragment
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:id="@+id/UpdateFragment"
|
android:id="@+id/UpdateFragment"
|
||||||
android:name="net.osmand.plus.dashboard.DashUpdatesFragment"
|
android:name="net.osmand.plus.dashboard.DashUpdatesFragment"
|
||||||
android:layout_marginTop="@dimen/dashCardMargin"
|
android:layout_marginTop="@dimen/dashCardMargin"
|
||||||
|
@ -89,7 +84,6 @@
|
||||||
android:layout_height="wrap_content"/>
|
android:layout_height="wrap_content"/>
|
||||||
|
|
||||||
<fragment
|
<fragment
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:id="@+id/PluginFragment"
|
android:id="@+id/PluginFragment"
|
||||||
android:name="net.osmand.plus.dashboard.DashPluginsFragment"
|
android:name="net.osmand.plus.dashboard.DashPluginsFragment"
|
||||||
android:layout_marginTop="@dimen/dashCardMargin"
|
android:layout_marginTop="@dimen/dashCardMargin"
|
||||||
|
|
|
@ -437,7 +437,7 @@ public class ResourceManager {
|
||||||
Algorithms.streamCopy(OsmandRegions.class.getResourceAsStream("regions.ocbf"),
|
Algorithms.streamCopy(OsmandRegions.class.getResourceAsStream("regions.ocbf"),
|
||||||
new FileOutputStream(file));
|
new FileOutputStream(file));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
regions.prepareFile(file.getAbsolutePath());
|
regions.prepareFile(file.getAbsolutePath());
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
log.error(e.getMessage(), e);
|
log.error(e.getMessage(), e);
|
||||||
|
|
Loading…
Reference in a new issue