Merge pull request #11110 from osmandapp/crashes-on-Export-/-Import

Osmand crashes on Export / Import
This commit is contained in:
Vitaliy 2021-03-11 11:15:24 +02:00 committed by GitHub
commit d698f0f500
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -20,7 +20,7 @@
android:layout_marginLeft="@dimen/content_padding"
android:layout_marginTop="@dimen/content_padding"
android:layout_marginRight="@dimen/content_padding"
android:src="@drawable/ic_action_sdcard_warning_colored" />
app:srcCompat="@drawable/ic_action_sdcard_warning_colored" />
<LinearLayout
android:layout_width="match_parent"

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:osmand="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="@dimen/card_row_min_height"
android:background="?attr/list_background_color"
@ -27,9 +27,7 @@
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:background="?attr/selectableItemBackground"
android:drawableRight="@drawable/ic_action_markers_list"
android:drawablePadding="@dimen/content_padding_small_half"
android:drawableTint="?attr/active_color_basic"
android:ellipsize="end"
android:gravity="center_vertical"
android:maxLines="1"
@ -39,6 +37,8 @@
android:paddingRight="@dimen/content_padding_half"
android:text="@string/shared_string_list"
android:textColor="?attr/color_dialog_buttons"
app:drawableEndCompat="@drawable/ic_action_markers_list"
app:drawableTint="?attr/active_color_basic"
osmand:typeface="@string/font_roboto_medium" />
</LinearLayout>