From b554d058e4fd02907e481da43023b8ce312e8daf Mon Sep 17 00:00:00 2001 From: Alexey Kulish Date: Mon, 5 Oct 2015 16:58:19 +0300 Subject: [PATCH] Adding voice prompts in progress. Fix WorldRegion init bug --- .../layout/two_line_with_images_list_item.xml | 10 ++ .../src/net/osmand/plus/AppInitializer.java | 4 +- OsmAnd/src/net/osmand/plus/WorldRegion.java | 43 ++--- .../plus/download/items/ItemViewHolder.java | 78 ++++++++- .../plus/download/items/ItemsListBuilder.java | 159 ++++++++++-------- .../download/items/RegionItemsFragment.java | 42 ++++- .../download/items/VoiceDialogFragment.java | 6 + .../download/items/VoiceItemsFragment.java | 4 + .../download/items/WorldItemsFragment.java | 90 ++++++++-- 9 files changed, 322 insertions(+), 114 deletions(-) create mode 100644 OsmAnd/src/net/osmand/plus/download/items/VoiceDialogFragment.java create mode 100644 OsmAnd/src/net/osmand/plus/download/items/VoiceItemsFragment.java diff --git a/OsmAnd/res/layout/two_line_with_images_list_item.xml b/OsmAnd/res/layout/two_line_with_images_list_item.xml index 924b6e9577..1ed62d8160 100644 --- a/OsmAnd/res/layout/two_line_with_images_list_item.xml +++ b/OsmAnd/res/layout/two_line_with_images_list_item.xml @@ -69,6 +69,16 @@ tools:src="@drawable/ic_action_import" tools:visibility="visible" android:visibility="gone"/> + +