From d0e5de04924d5a619b49dba3f79226c19fe2393a Mon Sep 17 00:00:00 2001 From: Alex Sytnyk Date: Thu, 10 May 2018 15:54:28 +0300 Subject: [PATCH] Fix "select map style" dialog crash on API < 21 --- OsmAnd/res/layout/bottom_sheet_item_with_expandable_descr.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OsmAnd/res/layout/bottom_sheet_item_with_expandable_descr.xml b/OsmAnd/res/layout/bottom_sheet_item_with_expandable_descr.xml index c14a8af1fd..cb531b78b7 100644 --- a/OsmAnd/res/layout/bottom_sheet_item_with_expandable_descr.xml +++ b/OsmAnd/res/layout/bottom_sheet_item_with_expandable_descr.xml @@ -32,7 +32,7 @@ android:id="@+id/text_button" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:background="?android:attr/selectableItemBackgroundBorderless" + android:background="?attr/selectableItemBackgroundBorderless" android:ellipsize="end" android:gravity="center_vertical" android:letterSpacing="@dimen/text_button_letter_spacing" @@ -44,7 +44,7 @@ android:textColor="?attr/color_dialog_buttons" android:textSize="@dimen/text_button_text_size" osmand:typeface="@string/font_roboto_medium" - tools:ignore="NewApi,UnusedAttribute" + tools:ignore="UnusedAttribute" tools:text="Show full description"/>