From f40c3cd4d928770f077ed45bd2a04121f63bf183 Mon Sep 17 00:00:00 2001 From: Bars107 Date: Wed, 17 Dec 2014 18:40:52 +0200 Subject: [PATCH] Updated large layout. Fixed bug with favorites icon doesnt fit in dashboard --- OsmAnd/res/layout/dash_favorites_item.xml | 4 ++-- OsmAnd/res/layout/dash_updates_item.xml | 1 + OsmAnd/res/values-large/sizes.xml | 4 ++-- OsmAnd/res/values/sizes.xml | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/OsmAnd/res/layout/dash_favorites_item.xml b/OsmAnd/res/layout/dash_favorites_item.xml index cf7fd9d7d7..8a044371c1 100644 --- a/OsmAnd/res/layout/dash_favorites_item.xml +++ b/OsmAnd/res/layout/dash_favorites_item.xml @@ -15,8 +15,8 @@ android:layout_gravity="center_vertical" android:layout_marginLeft="@dimen/dashFavIconMargin" android:layout_marginRight="@dimen/dashFavIconMargin" - android:layout_width="@dimen/dashFavIconSize" - android:layout_height="@dimen/dashFavIconSize"/> + android:layout_width="wrap_content" + android:layout_height="fill_parent"/> 75dp 42dp 18dp - 15sp + 15dp 165dp 3dp 27sp @@ -25,5 +25,5 @@ 18sp 21sp - 18sp + 24sp \ No newline at end of file diff --git a/OsmAnd/res/values/sizes.xml b/OsmAnd/res/values/sizes.xml index 945472a251..940a84032c 100644 --- a/OsmAnd/res/values/sizes.xml +++ b/OsmAnd/res/values/sizes.xml @@ -8,7 +8,7 @@ 50dp 28dp 12dp - 10sp + 10dp 110dp 2dp 28dp