From c5b153bf19d11778bf8e9f54e53919f99d89dd8c Mon Sep 17 00:00:00 2001 From: Denis Date: Wed, 21 Jan 2015 17:51:12 +0200 Subject: [PATCH] Added some new fragments --- ..._fragment.xml => dash_common_fragment.xml} | 2 +- OsmAnd/res/layout/dash_gpx_track_item.xml | 70 +++++++++++++ OsmAnd/res/layout/dash_osmo_fragment.xml | 76 +++++++++++++++ OsmAnd/res/layout/dash_osmo_item.xml | 41 ++++++++ OsmAnd/res/layout/dashboard.xml | 9 ++ OsmAnd/res/values/strings.xml | 4 + .../plus/dashboard/DashFavoritesFragment.java | 4 +- .../plus/dashboard/DashOsmEditsFragment.java | 58 +++++++++++ .../plus/dashboard/DashOsmoFragment.java | 34 +++++++ .../plus/dashboard/DashTrackFragment.java | 97 +++++++++++++++++++ .../net/osmand/plus/helpers/GpxUiHelper.java | 2 +- 11 files changed, 393 insertions(+), 4 deletions(-) rename OsmAnd/res/layout/{dash_favorites_fragment.xml => dash_common_fragment.xml} (95%) create mode 100644 OsmAnd/res/layout/dash_gpx_track_item.xml create mode 100644 OsmAnd/res/layout/dash_osmo_fragment.xml create mode 100644 OsmAnd/res/layout/dash_osmo_item.xml create mode 100644 OsmAnd/src/net/osmand/plus/dashboard/DashOsmEditsFragment.java create mode 100644 OsmAnd/src/net/osmand/plus/dashboard/DashOsmoFragment.java create mode 100644 OsmAnd/src/net/osmand/plus/dashboard/DashTrackFragment.java diff --git a/OsmAnd/res/layout/dash_favorites_fragment.xml b/OsmAnd/res/layout/dash_common_fragment.xml similarity index 95% rename from OsmAnd/res/layout/dash_favorites_fragment.xml rename to OsmAnd/res/layout/dash_common_fragment.xml index 60ff6bf115..060814f565 100644 --- a/OsmAnd/res/layout/dash_favorites_fragment.xml +++ b/OsmAnd/res/layout/dash_common_fragment.xml @@ -16,7 +16,7 @@ android:text="@string/show_all" style="@style/DashboardGeneralButton"/> - diff --git a/OsmAnd/res/layout/dash_gpx_track_item.xml b/OsmAnd/res/layout/dash_gpx_track_item.xml new file mode 100644 index 0000000000..c9973f7fb8 --- /dev/null +++ b/OsmAnd/res/layout/dash_gpx_track_item.xml @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/OsmAnd/res/layout/dash_osmo_fragment.xml b/OsmAnd/res/layout/dash_osmo_fragment.xml new file mode 100644 index 0000000000..c7ccac2de1 --- /dev/null +++ b/OsmAnd/res/layout/dash_osmo_fragment.xml @@ -0,0 +1,76 @@ + + + + +