diff --git a/OsmAnd/res/layout/wikivoyage_open_beta_card.xml b/OsmAnd/res/layout/wikivoyage_open_beta_card.xml
index 5ba3eefd55..4f45dc23af 100644
--- a/OsmAnd/res/layout/wikivoyage_open_beta_card.xml
+++ b/OsmAnd/res/layout/wikivoyage_open_beta_card.xml
@@ -2,25 +2,30 @@
+ android:layout_marginLeft="@dimen/text_margin_small"
+ android:layout_marginRight="@dimen/text_margin_small"
+ android:background="@drawable/travel_card_bg"
+ android:orientation="vertical">
+ android:orientation="vertical"
+ android:background="@color/wikivoyage_open_beta_card_image_background">
+
-
\ No newline at end of file
diff --git a/OsmAnd/res/layout/wikivoyage_start_editing_card.xml b/OsmAnd/res/layout/wikivoyage_start_editing_card.xml
index 9874abc0ab..e2290fd173 100644
--- a/OsmAnd/res/layout/wikivoyage_start_editing_card.xml
+++ b/OsmAnd/res/layout/wikivoyage_start_editing_card.xml
@@ -2,11 +2,13 @@
21dp
33dp
82dp
+ 216dp
\ No newline at end of file
diff --git a/OsmAnd/res/values/colors.xml b/OsmAnd/res/values/colors.xml
index 08e38f2c6d..195697b21a 100644
--- a/OsmAnd/res/values/colors.xml
+++ b/OsmAnd/res/values/colors.xml
@@ -428,6 +428,7 @@
#212121
#cccccc
#727272
- #339966
+ #339966
+ #008bf8
\ No newline at end of file
diff --git a/OsmAnd/res/values/strings.xml b/OsmAnd/res/values/strings.xml
index 6e386278dd..76705a0755 100644
--- a/OsmAnd/res/values/strings.xml
+++ b/OsmAnd/res/values/strings.xml
@@ -9,6 +9,7 @@
3. All your modified/created strings are in the top of the file (to make easier find what\'s translated).
PLEASE: Have a look at http://code.google.com/p/osmand/wiki/UIConsistency, it may really improve your and our work :-) Thx - Hardy
-->
+ Popular destinations
Paid application
Paid plugin
We prepared updates and fixes in the Wikivoyage data, update the file to see them.
diff --git a/OsmAnd/src/net/osmand/plus/wikivoyage/data/TravelDbHelper.java b/OsmAnd/src/net/osmand/plus/wikivoyage/data/TravelDbHelper.java
index d7b9ededc8..f4b0a02fae 100644
--- a/OsmAnd/src/net/osmand/plus/wikivoyage/data/TravelDbHelper.java
+++ b/OsmAnd/src/net/osmand/plus/wikivoyage/data/TravelDbHelper.java
@@ -199,6 +199,24 @@ public class TravelDbHelper {
return list;
}
+ @NonNull
+ public List searchPopular() {
+ List res = new ArrayList<>();
+ SQLiteConnection conn = openConnection();
+ if (conn != null) {
+ TravelArticle travelArticle;
+ SQLiteCursor cursor = conn.rawQuery("SELECT * FROM " + ARTICLES_TABLE_NAME + " ORDER BY RANDOM() LIMIT 100", null);
+ if (cursor.moveToFirst()) {
+ do {
+ travelArticle = readArticle(cursor);
+ res.add(travelArticle);
+ } while (cursor.moveToNext());
+ }
+ cursor.close();
+ }
+ return res;
+ }
+
private void sortSearchResults(final String searchQuery, List list) {
Collections.sort(list, new Comparator() {
@Override
diff --git a/OsmAnd/src/net/osmand/plus/wikivoyage/explore/ExploreRvAdapter.java b/OsmAnd/src/net/osmand/plus/wikivoyage/explore/ExploreRvAdapter.java
new file mode 100644
index 0000000000..073fd3c6fc
--- /dev/null
+++ b/OsmAnd/src/net/osmand/plus/wikivoyage/explore/ExploreRvAdapter.java
@@ -0,0 +1,143 @@
+package net.osmand.plus.wikivoyage.explore;
+
+import android.support.annotation.NonNull;
+import android.support.v7.widget.RecyclerView;
+import android.view.LayoutInflater;
+import android.view.View;
+import android.view.ViewGroup;
+import android.widget.TextView;
+
+import net.osmand.plus.OsmandApplication;
+import net.osmand.plus.OsmandSettings;
+import net.osmand.plus.R;
+import net.osmand.plus.wikivoyage.data.TravelArticle;
+import net.osmand.plus.wikivoyage.explore.travelcards.ArticleTravelCard;
+import net.osmand.plus.wikivoyage.explore.travelcards.OpenBetaTravelCard;
+import net.osmand.plus.wikivoyage.explore.travelcards.StartEditingTravelCard;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class ExploreRvAdapter extends RecyclerView.Adapter {
+
+ private static final int HEADER_TYPE = 3;
+
+ private final OsmandSettings settings;
+
+ private final List