From 4bfa61c8b3bd1fd4924974467a4a9ad798861439 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Mon, 22 Aug 2011 01:52:00 +0200 Subject: [PATCH] Implement favorite points --- OsmAnd/res/layout/favourite_edit_dialog.xml | 17 + OsmAnd/res/layout/favourites_list.xml | 24 + .../res/layout/favourites_list_category.xml | 12 + OsmAnd/res/layout/favourites_list_item.xml | 10 +- OsmAnd/res/values/strings.xml | 2 + OsmAnd/src/net/osmand/FavouritePoint.java | 3 +- .../net/osmand/plus/FavouritesDbHelper.java | 46 +- .../plus/activities/FavouritesActivity.java | 492 +++++++++++++++--- .../plus/activities/MainMenuActivity.java | 2 +- .../plus/activities/MapActivityActions.java | 30 +- 10 files changed, 531 insertions(+), 107 deletions(-) create mode 100644 OsmAnd/res/layout/favourite_edit_dialog.xml create mode 100644 OsmAnd/res/layout/favourites_list.xml create mode 100644 OsmAnd/res/layout/favourites_list_category.xml diff --git a/OsmAnd/res/layout/favourite_edit_dialog.xml b/OsmAnd/res/layout/favourite_edit_dialog.xml new file mode 100644 index 0000000000..3a41671fc9 --- /dev/null +++ b/OsmAnd/res/layout/favourite_edit_dialog.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + diff --git a/OsmAnd/res/layout/favourites_list.xml b/OsmAnd/res/layout/favourites_list.xml new file mode 100644 index 0000000000..46ea1ef09a --- /dev/null +++ b/OsmAnd/res/layout/favourites_list.xml @@ -0,0 +1,24 @@ + + + + + +