Fix #8582 GPX files dialog, check layout

This commit is contained in:
Dima-1 2020-05-13 12:26:06 +03:00
parent a90fd6d2c3
commit cd175d290e

View file

@ -1,5 +1,6 @@
<?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:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@ -44,7 +45,7 @@
android:id="@+id/icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_action_polygom_dark"
app:srcCompat="@drawable/ic_action_polygom_dark"
android:layout_marginRight="@dimen/list_content_padding"
android:visibility="visible"
android:layout_marginEnd="@dimen/list_content_padding" />
@ -84,13 +85,14 @@
android:layout_height="wrap_content"
android:layout_marginRight="@dimen/gpx_small_icon_margin"
android:layout_marginEnd="@dimen/gpx_small_icon_margin"
android:src="@drawable/ic_action_distance_16" />
app:srcCompat="@drawable/ic_action_distance_16" />
<TextView
android:id="@+id/distance"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="@dimen/gpx_small_text_margin"
android:maxLines="1"
android:includeFontPadding="false"
android:textColor="?android:textColorSecondary"
android:textSize="@dimen/default_sub_text_size"
@ -102,7 +104,7 @@
android:layout_height="wrap_content"
android:layout_marginRight="@dimen/gpx_small_icon_margin"
android:layout_marginEnd="@dimen/gpx_small_icon_margin"
android:src="@drawable/ic_action_waypoint_16" />
app:srcCompat="@drawable/ic_action_waypoint_16" />
<TextView
android:id="@+id/points_count"
@ -110,6 +112,7 @@
android:layout_height="wrap_content"
android:layout_marginRight="@dimen/gpx_small_text_margin"
android:includeFontPadding="false"
android:maxLines="1"
android:textColor="?android:textColorSecondary"
android:textSize="@dimen/default_sub_text_size"
android:layout_marginEnd="@dimen/gpx_small_text_margin" />
@ -120,13 +123,14 @@
android:layout_height="wrap_content"
android:layout_marginRight="@dimen/gpx_small_icon_margin"
android:layout_marginEnd="@dimen/gpx_small_icon_margin"
android:src="@drawable/ic_action_time_16" />
app:srcCompat="@drawable/ic_action_time_16" />
<TextView
android:id="@+id/time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="@dimen/gpx_small_text_margin"
android:maxLines="1"
android:textColor="?android:textColorSecondary"
android:includeFontPadding="false"
android:textSize="@dimen/default_sub_text_size"
@ -146,6 +150,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="?android:textColorSecondary"
android:maxLines="1"
android:textSize="@dimen/default_sub_text_size"/>
</LinearLayout>
@ -167,7 +172,7 @@
android:layout_marginLeft="@dimen/favorites_icon_right_margin"
android:layout_marginStart="@dimen/favorites_icon_right_margin"
android:background="?attr/dashboard_button"
android:src="@drawable/ic_action_gsave_dark"
app:srcCompat="@drawable/ic_action_gsave_dark"
android:visibility="gone" />
<ImageButton
@ -175,7 +180,7 @@
android:layout_width="@dimen/list_item_height"
android:layout_height="@dimen/list_item_height"
android:background="?attr/dashboard_button"
android:src="@drawable/ic_action_rec_stop"
app:srcCompat="@drawable/ic_action_rec_stop"
android:visibility="gone"/>
<ImageButton
@ -185,7 +190,7 @@
android:layout_height="@dimen/list_item_height"
android:background="?attr/dashboard_button"
android:focusable="false"
android:src="@drawable/ic_overflow_menu_white"
app:srcCompat="@drawable/ic_overflow_menu_white"
android:visibility="gone"/>
<LinearLayout