From 16a9c1234af3da4f7ada3168f039ee1aa6d7d813 Mon Sep 17 00:00:00 2001 From: Nazar-Kutz Date: Sat, 22 Feb 2020 15:52:50 +0200 Subject: [PATCH] Fix "OsmAnd Live" --- OsmAnd/res/layout/local_index_list_item.xml | 6 +++++- OsmAnd/res/layout/local_index_live_updates_list_item.xml | 8 ++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/OsmAnd/res/layout/local_index_list_item.xml b/OsmAnd/res/layout/local_index_list_item.xml index 94131b8118..ab39d8fb66 100644 --- a/OsmAnd/res/layout/local_index_list_item.xml +++ b/OsmAnd/res/layout/local_index_list_item.xml @@ -7,13 +7,15 @@ android:descendantFocusability="blocksDescendants" android:minHeight="@dimen/list_item_height" android:orientation="horizontal" - android:paddingLeft="@dimen/list_content_padding"> + android:paddingLeft="@dimen/list_content_padding" + android:paddingStart="@dimen/list_content_padding"> @@ -23,6 +25,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/favorites_icon_right_margin" + android:layout_marginEnd="@dimen/favorites_icon_right_margin" android:layout_marginTop="@dimen/favorites_icon_top_margin" android:focusable="false" android:src="@drawable/ic_gpx_track"/> @@ -53,6 +56,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="7dp" + android:layout_marginEnd="7dp" android:textColor="?android:textColorSecondary" android:textSize="@dimen/default_sub_text_size" tools:text="12.34 Mb * 10/4/2015"/> diff --git a/OsmAnd/res/layout/local_index_live_updates_list_item.xml b/OsmAnd/res/layout/local_index_live_updates_list_item.xml index d239403276..25c0400ba6 100644 --- a/OsmAnd/res/layout/local_index_live_updates_list_item.xml +++ b/OsmAnd/res/layout/local_index_live_updates_list_item.xml @@ -13,7 +13,9 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/list_content_padding" + android:layout_marginStart="@dimen/list_content_padding" android:layout_marginRight="@dimen/favorites_icon_right_margin" + android:layout_marginEnd="@dimen/favorites_icon_right_margin" android:layout_marginTop="@dimen/favorites_icon_top_margin" android:focusable="false" android:src="@drawable/ic_map"/> @@ -24,7 +26,9 @@ android:layout_centerVertical="true" android:layout_gravity="center_vertical" android:layout_toLeftOf="@id/options" + android:layout_toStartOf="@id/options" android:layout_toRightOf="@id/icon" + android:layout_toEndOf="@id/icon" android:orientation="vertical"> \ No newline at end of file