diff options
author | Dmitry Yunitsky <yunik@mapswithme.com> | 2015-03-19 18:15:01 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:40:28 +0300 |
commit | 6a94f7ca25327161510719c6d20fa8ae321d430d (patch) | |
tree | c0b2dd6727bda90ed39f8e3559034d87b6db0743 /android/res/layout-land | |
parent | 6560d0c0c34aa522c525ab9e0b76604cca982faa (diff) |
Correct direction arrow on smartphones.
Diffstat (limited to 'android/res/layout-land')
-rw-r--r-- | android/res/layout-land/fragment_direction.xml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/android/res/layout-land/fragment_direction.xml b/android/res/layout-land/fragment_direction.xml index d4a512e8bb..c18dd87f6f 100644 --- a/android/res/layout-land/fragment_direction.xml +++ b/android/res/layout-land/fragment_direction.xml @@ -12,9 +12,7 @@ android:id="@+id/anchor_center" android:layout_width="0px" android:layout_height="0px" - android:layout_centerInParent="true" - android:layout_marginLeft="@dimen/margin_direction_around_center" - android:layout_marginRight="@dimen/margin_direction_around_center"/> + android:layout_centerInParent="true"/> <TextView android:id="@+id/tv__title" @@ -32,16 +30,18 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignBottom="@id/anchor_center" - android:layout_toRightOf="@id/anchor_center" + android:layout_toRightOf="@id/av__direction" + android:layout_marginLeft="@dimen/margin_direction_around_center" android:textColor="@color/semitransparent_white" android:textSize="@dimen/text_direction_subtitle"/> <com.mapswithme.maps.widget.ArrowView android:id="@+id/av__direction" + android:src="@drawable/ic_direction" android:layout_width="wrap_content" + android:layout_marginRight="@dimen/margin_direction_around_center" android:layout_height="wrap_content" - android:layout_centerVertical="true" - android:layout_toLeftOf="@id/anchor_center"/> + android:layout_centerVertical="true"/> <TextView android:id="@+id/tv__straight_distance" |