Fix "select map style" dialog crash on API < 21

This commit is contained in:
Alex Sytnyk 2018-05-10 15:54:28 +03:00
parent 8e5985a77c
commit d0e5de0492

View file

@ -32,7 +32,7 @@
android:id="@+id/text_button" android:id="@+id/text_button"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="?android:attr/selectableItemBackgroundBorderless" android:background="?attr/selectableItemBackgroundBorderless"
android:ellipsize="end" android:ellipsize="end"
android:gravity="center_vertical" android:gravity="center_vertical"
android:letterSpacing="@dimen/text_button_letter_spacing" android:letterSpacing="@dimen/text_button_letter_spacing"
@ -44,7 +44,7 @@
android:textColor="?attr/color_dialog_buttons" android:textColor="?attr/color_dialog_buttons"
android:textSize="@dimen/text_button_text_size" android:textSize="@dimen/text_button_text_size"
osmand:typeface="@string/font_roboto_medium" osmand:typeface="@string/font_roboto_medium"
tools:ignore="NewApi,UnusedAttribute" tools:ignore="UnusedAttribute"
tools:text="Show full description"/> tools:text="Show full description"/>
</FrameLayout> </FrameLayout>