From 37aefe99c2cb3705005d63c123808ac84b691104 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Thu, 22 Oct 2015 00:38:05 +0200 Subject: [PATCH] Update widgets up to 45% width #1821 --- OsmAnd/res/layout/map_hud_top.xml | 12 ++++++------ OsmAnd/res/layout/map_hud_widget.xml | 4 ++++ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/OsmAnd/res/layout/map_hud_top.xml b/OsmAnd/res/layout/map_hud_top.xml index eb51f8b31b..90930692ca 100644 --- a/OsmAnd/res/layout/map_hud_top.xml +++ b/OsmAnd/res/layout/map_hud_top.xml @@ -139,7 +139,7 @@ android:layout_width="0dp" android:layout_height="wrap_content" android:layout_gravity="top|left" - android:layout_weight="0.4" + android:layout_weight="0.45" android:orientation="vertical" > - + + android:layout_weight="0.55" > @@ -197,19 +197,19 @@ android:orientation="horizontal" android:weightSum="1" > - + + android:layout_weight="0.55" > + android:layout_weight="0.45" > @@ -99,6 +102,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxLines="1" + android:singleLine="true" tools:text="km" android:textColor="@color/color_black" android:textSize="@dimen/map_widget_text_size_small" />