From 5290218362cc624b6a4ac71a26dc8848a2c8b982 Mon Sep 17 00:00:00 2001 From: Alexey Kulish Date: Wed, 5 Apr 2017 21:56:47 +0300 Subject: [PATCH] Contour lines settings done --- OsmAnd/res/drawable/buy_background_light.xml | 10 + .../layout/list_group_title_with_descr.xml | 59 ++++++ .../layout/list_group_title_with_switch.xml | 5 +- .../list_group_title_with_switch_light.xml | 55 +++++ .../layout/list_item_icon_and_download.xml | 97 +++++++++ .../layout/list_item_icon_and_right_btn.xml | 121 +++++++++++ OsmAnd/res/values/strings.xml | 3 + .../net/osmand/plus/ContextMenuAdapter.java | 36 +++- .../src/net/osmand/plus/ContextMenuItem.java | 23 +- .../osmand/plus/activities/MapActivity.java | 9 + .../osmand/plus/dashboard/DashboardOnMap.java | 40 +++- .../plus/srtmplugin/ContourLinesMenu.java | 196 +++++++++++++++++- .../osmand/plus/srtmplugin/SRTMPlugin.java | 24 ++- 13 files changed, 653 insertions(+), 25 deletions(-) create mode 100644 OsmAnd/res/drawable/buy_background_light.xml create mode 100644 OsmAnd/res/layout/list_group_title_with_descr.xml create mode 100644 OsmAnd/res/layout/list_group_title_with_switch_light.xml create mode 100644 OsmAnd/res/layout/list_item_icon_and_download.xml create mode 100644 OsmAnd/res/layout/list_item_icon_and_right_btn.xml diff --git a/OsmAnd/res/drawable/buy_background_light.xml b/OsmAnd/res/drawable/buy_background_light.xml new file mode 100644 index 0000000000..c3cafcd530 --- /dev/null +++ b/OsmAnd/res/drawable/buy_background_light.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/OsmAnd/res/layout/list_group_title_with_descr.xml b/OsmAnd/res/layout/list_group_title_with_descr.xml new file mode 100644 index 0000000000..6d16169a28 --- /dev/null +++ b/OsmAnd/res/layout/list_group_title_with_descr.xml @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/OsmAnd/res/layout/list_group_title_with_switch.xml b/OsmAnd/res/layout/list_group_title_with_switch.xml index e9f039eeee..15b58ce2f9 100644 --- a/OsmAnd/res/layout/list_group_title_with_switch.xml +++ b/OsmAnd/res/layout/list_group_title_with_switch.xml @@ -18,8 +18,9 @@ diff --git a/OsmAnd/res/layout/list_group_title_with_switch_light.xml b/OsmAnd/res/layout/list_group_title_with_switch_light.xml new file mode 100644 index 0000000000..a92ad249ed --- /dev/null +++ b/OsmAnd/res/layout/list_group_title_with_switch_light.xml @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/OsmAnd/res/layout/list_item_icon_and_download.xml b/OsmAnd/res/layout/list_item_icon_and_download.xml new file mode 100644 index 0000000000..8b4b7d1f5a --- /dev/null +++ b/OsmAnd/res/layout/list_item_icon_and_download.xml @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + + + + + +