From 1ad3b0b7d59e6d0afd6d1066bfff39bfa1d45e1e Mon Sep 17 00:00:00 2001 From: Alex Sytnyk Date: Mon, 16 Jul 2018 17:41:36 +0300 Subject: [PATCH] Fix #5165 --- OsmAnd/res/layout/grid_menu_item.xml | 59 +++++++++++++-------------- OsmAnd/res/layout/grid_menu_row.xml | 61 +++++++++++++++++----------- 2 files changed, 66 insertions(+), 54 deletions(-) diff --git a/OsmAnd/res/layout/grid_menu_item.xml b/OsmAnd/res/layout/grid_menu_item.xml index db4cd1a2df..206d2a025b 100644 --- a/OsmAnd/res/layout/grid_menu_item.xml +++ b/OsmAnd/res/layout/grid_menu_item.xml @@ -1,36 +1,35 @@ + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:background="?attr/selectableItemBackgroundBorderless" + android:orientation="vertical" + android:paddingLeft="@dimen/bottom_sheet_content_padding_small" + android:paddingRight="@dimen/bottom_sheet_content_padding_small" + tools:background="#17171A" + tools:layout_gravity="center"> - + - + diff --git a/OsmAnd/res/layout/grid_menu_row.xml b/OsmAnd/res/layout/grid_menu_row.xml index dbfcdd1d89..3f1b8df883 100644 --- a/OsmAnd/res/layout/grid_menu_row.xml +++ b/OsmAnd/res/layout/grid_menu_row.xml @@ -1,33 +1,46 @@ + xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingTop="@dimen/bottom_sheet_content_padding_small"> - + - + - + - + - + + + + +