diff --git a/OsmAnd/res/layout/wikivoyage_contents_child_list_item.xml b/OsmAnd/res/layout/wikivoyage_contents_child_list_item.xml
deleted file mode 100644
index 052251ff8a..0000000000
--- a/OsmAnd/res/layout/wikivoyage_contents_child_list_item.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/OsmAnd/res/layout/wikivoyage_contents_group_list_item.xml b/OsmAnd/res/layout/wikivoyage_contents_group_list_item.xml
deleted file mode 100644
index a4f17169c2..0000000000
--- a/OsmAnd/res/layout/wikivoyage_contents_group_list_item.xml
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/OsmAnd/res/layout/wikivoyage_contents_list_item.xml b/OsmAnd/res/layout/wikivoyage_contents_list_item.xml
index 040a075af4..3f8fa47881 100644
--- a/OsmAnd/res/layout/wikivoyage_contents_list_item.xml
+++ b/OsmAnd/res/layout/wikivoyage_contents_list_item.xml
@@ -1,23 +1,54 @@
-
+ android:layout_height="1dp"
+ android:layout_marginBottom="@dimen/bottom_sheet_divider_margin_bottom"
+ android:background="?attr/wikivoyage_card_divider_color" />
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/OsmAnd/src/net/osmand/plus/wikivoyage/article/WikivoyageArticleContentsFragment.java b/OsmAnd/src/net/osmand/plus/wikivoyage/article/WikivoyageArticleContentsFragment.java
index 425a75641d..f0d73dd116 100644
--- a/OsmAnd/src/net/osmand/plus/wikivoyage/article/WikivoyageArticleContentsFragment.java
+++ b/OsmAnd/src/net/osmand/plus/wikivoyage/article/WikivoyageArticleContentsFragment.java
@@ -153,7 +153,7 @@ public class WikivoyageArticleContentsFragment extends MenuBottomSheetDialogFrag
String childText = (String) getChild(groupPosition, childPosition);
if (convertView == null) {
convertView = LayoutInflater.from(context)
- .inflate(R.layout.wikivoyage_contents_child_list_item, parent, false);
+ .inflate(R.layout.wikivoyage_contents_list_item, parent, false);
}
TextView txtListChild = (TextView) convertView.findViewById(R.id.item_label);
txtListChild.setText(childText);
@@ -161,7 +161,9 @@ public class WikivoyageArticleContentsFragment extends MenuBottomSheetDialogFrag
? R.color.wikivoyage_contents_parent_icon_dark
: R.color.wikivoyage_contents_parent_icon_light));
txtListChild.setCompoundDrawablesWithIntrinsicBounds(itemChildIcon, null, null, null);
-
+ convertView.findViewById(R.id.upper_row_divider).setVisibility(View.GONE);
+ convertView.findViewById(R.id.bottom_row_divider).setVisibility(View.GONE);
+ txtListChild.setTypeface(null);
if (childPosition == listDataChild.get(listDataHeader.get(groupPosition)).size() - 1) {
convertView.setPadding(0, 0, 0, AndroidUtils.dpToPx(getContext(),7));
} else {
@@ -198,7 +200,7 @@ public class WikivoyageArticleContentsFragment extends MenuBottomSheetDialogFrag
String headerTitle = (String) getGroup(groupPosition);
if (convertView == null) {
convertView = LayoutInflater.from(context)
- .inflate(R.layout.wikivoyage_contents_group_list_item, parent, false);
+ .inflate(R.layout.wikivoyage_contents_list_item, parent, false);
}
boolean light = getMyApplication().getSettings().isLightContent();
TextView lblListHeader = (TextView) convertView.findViewById(R.id.item_label);