Fix #8582 GPX files dialog, check layout
This commit is contained in:
parent
a90fd6d2c3
commit
cd175d290e
1 changed files with 17 additions and 12 deletions
|
@ -1,5 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<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"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
@ -44,7 +45,7 @@
|
||||||
android:id="@+id/icon"
|
android:id="@+id/icon"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="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:layout_marginRight="@dimen/list_content_padding"
|
||||||
android:visibility="visible"
|
android:visibility="visible"
|
||||||
android:layout_marginEnd="@dimen/list_content_padding" />
|
android:layout_marginEnd="@dimen/list_content_padding" />
|
||||||
|
@ -84,13 +85,14 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginRight="@dimen/gpx_small_icon_margin"
|
android:layout_marginRight="@dimen/gpx_small_icon_margin"
|
||||||
android:layout_marginEnd="@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
|
<TextView
|
||||||
android:id="@+id/distance"
|
android:id="@+id/distance"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginRight="@dimen/gpx_small_text_margin"
|
android:layout_marginRight="@dimen/gpx_small_text_margin"
|
||||||
|
android:maxLines="1"
|
||||||
android:includeFontPadding="false"
|
android:includeFontPadding="false"
|
||||||
android:textColor="?android:textColorSecondary"
|
android:textColor="?android:textColorSecondary"
|
||||||
android:textSize="@dimen/default_sub_text_size"
|
android:textSize="@dimen/default_sub_text_size"
|
||||||
|
@ -102,7 +104,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginRight="@dimen/gpx_small_icon_margin"
|
android:layout_marginRight="@dimen/gpx_small_icon_margin"
|
||||||
android:layout_marginEnd="@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
|
<TextView
|
||||||
android:id="@+id/points_count"
|
android:id="@+id/points_count"
|
||||||
|
@ -110,6 +112,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginRight="@dimen/gpx_small_text_margin"
|
android:layout_marginRight="@dimen/gpx_small_text_margin"
|
||||||
android:includeFontPadding="false"
|
android:includeFontPadding="false"
|
||||||
|
android:maxLines="1"
|
||||||
android:textColor="?android:textColorSecondary"
|
android:textColor="?android:textColorSecondary"
|
||||||
android:textSize="@dimen/default_sub_text_size"
|
android:textSize="@dimen/default_sub_text_size"
|
||||||
android:layout_marginEnd="@dimen/gpx_small_text_margin" />
|
android:layout_marginEnd="@dimen/gpx_small_text_margin" />
|
||||||
|
@ -120,13 +123,14 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginRight="@dimen/gpx_small_icon_margin"
|
android:layout_marginRight="@dimen/gpx_small_icon_margin"
|
||||||
android:layout_marginEnd="@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
|
<TextView
|
||||||
android:id="@+id/time"
|
android:id="@+id/time"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginRight="@dimen/gpx_small_text_margin"
|
android:layout_marginRight="@dimen/gpx_small_text_margin"
|
||||||
|
android:maxLines="1"
|
||||||
android:textColor="?android:textColorSecondary"
|
android:textColor="?android:textColorSecondary"
|
||||||
android:includeFontPadding="false"
|
android:includeFontPadding="false"
|
||||||
android:textSize="@dimen/default_sub_text_size"
|
android:textSize="@dimen/default_sub_text_size"
|
||||||
|
@ -146,6 +150,7 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textColor="?android:textColorSecondary"
|
android:textColor="?android:textColorSecondary"
|
||||||
|
android:maxLines="1"
|
||||||
android:textSize="@dimen/default_sub_text_size"/>
|
android:textSize="@dimen/default_sub_text_size"/>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
@ -167,7 +172,7 @@
|
||||||
android:layout_marginLeft="@dimen/favorites_icon_right_margin"
|
android:layout_marginLeft="@dimen/favorites_icon_right_margin"
|
||||||
android:layout_marginStart="@dimen/favorites_icon_right_margin"
|
android:layout_marginStart="@dimen/favorites_icon_right_margin"
|
||||||
android:background="?attr/dashboard_button"
|
android:background="?attr/dashboard_button"
|
||||||
android:src="@drawable/ic_action_gsave_dark"
|
app:srcCompat="@drawable/ic_action_gsave_dark"
|
||||||
android:visibility="gone" />
|
android:visibility="gone" />
|
||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
|
@ -175,7 +180,7 @@
|
||||||
android:layout_width="@dimen/list_item_height"
|
android:layout_width="@dimen/list_item_height"
|
||||||
android:layout_height="@dimen/list_item_height"
|
android:layout_height="@dimen/list_item_height"
|
||||||
android:background="?attr/dashboard_button"
|
android:background="?attr/dashboard_button"
|
||||||
android:src="@drawable/ic_action_rec_stop"
|
app:srcCompat="@drawable/ic_action_rec_stop"
|
||||||
android:visibility="gone"/>
|
android:visibility="gone"/>
|
||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
|
@ -185,7 +190,7 @@
|
||||||
android:layout_height="@dimen/list_item_height"
|
android:layout_height="@dimen/list_item_height"
|
||||||
android:background="?attr/dashboard_button"
|
android:background="?attr/dashboard_button"
|
||||||
android:focusable="false"
|
android:focusable="false"
|
||||||
android:src="@drawable/ic_overflow_menu_white"
|
app:srcCompat="@drawable/ic_overflow_menu_white"
|
||||||
android:visibility="gone"/>
|
android:visibility="gone"/>
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
|
|
Loading…
Reference in a new issue