diff --git a/OsmAnd/res/layout/fragment_wikivoyage_search_dialog.xml b/OsmAnd/res/layout/fragment_wikivoyage_search_dialog.xml index 03ef56bd66..deb610a3cf 100644 --- a/OsmAnd/res/layout/fragment_wikivoyage_search_dialog.xml +++ b/OsmAnd/res/layout/fragment_wikivoyage_search_dialog.xml @@ -30,6 +30,8 @@ android:id="@+id/recycler_view" android:layout_width="match_parent" android:layout_height="match_parent" + android:clipToPadding="false" + android:paddingBottom="@dimen/map_markers_recycler_view_padding_bottom" android:scrollbars="vertical"/> diff --git a/OsmAnd/res/layout/wikivoyage_search_list_item.xml b/OsmAnd/res/layout/wikivoyage_search_list_item.xml index 420febfba8..24404975d3 100644 --- a/OsmAnd/res/layout/wikivoyage_search_list_item.xml +++ b/OsmAnd/res/layout/wikivoyage_search_list_item.xml @@ -4,61 +4,74 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="wrap_content" - android:background="?attr/wikivoyage_card_bg_color" android:orientation="vertical"> - - + android:background="?attr/wikivoyage_card_bg_color" + android:orientation="vertical"> + android:background="?attr/selectableItemBackground" + android:minHeight="@dimen/bottom_sheet_selected_item_title_height" + android:paddingLeft="@dimen/content_padding" + android:paddingRight="@dimen/content_padding"> - + android:layout_gravity="center_vertical" + android:layout_marginEnd="@dimen/content_padding" + android:layout_marginRight="@dimen/content_padding" + tools:src="@drawable/ic_action_placeholder_city"/> - + android:layout_gravity="center_vertical" + android:layout_weight="1" + android:orientation="vertical"> + + + + + + + + - + diff --git a/OsmAnd/src/net/osmand/plus/wikivoyage/search/SearchRecyclerViewAdapter.java b/OsmAnd/src/net/osmand/plus/wikivoyage/search/SearchRecyclerViewAdapter.java index 7eda185ae9..90f598529f 100644 --- a/OsmAnd/src/net/osmand/plus/wikivoyage/search/SearchRecyclerViewAdapter.java +++ b/OsmAnd/src/net/osmand/plus/wikivoyage/search/SearchRecyclerViewAdapter.java @@ -51,6 +51,7 @@ public class SearchRecyclerViewAdapter extends RecyclerView.Adapter