diff options
author | Dmitry Kunin <dkunin@mapswith.me> | 2013-06-25 10:34:44 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:56:54 +0300 |
commit | c7b4e82f69bea8cec54030e7216a3bdfe71de1b6 (patch) | |
tree | 1de00c87acba1f050c4c4e931596eefb468a6556 /android/res/layout-land | |
parent | 485ba9730356a02494d259a1bcc8dd10651645ce (diff) |
[android] code review fixes. new place page look. (in portrait).
Diffstat (limited to 'android/res/layout-land')
-rw-r--r-- | android/res/layout-land/activity_map_object.xml | 12 | ||||
-rw-r--r-- | android/res/layout-land/fragment_simple_navigation.xml | 20 |
2 files changed, 14 insertions, 18 deletions
diff --git a/android/res/layout-land/activity_map_object.xml b/android/res/layout-land/activity_map_object.xml index 5f9ca0c32b..2197cb90ee 100644 --- a/android/res/layout-land/activity_map_object.xml +++ b/android/res/layout-land/activity_map_object.xml @@ -14,20 +14,22 @@ android:id="@+id/simpleNavigationFragment" android:name="com.mapswithme.maps.SimpleNavigationFragment" android:layout_width="0dp" - android:layout_height="match_parent" + android:layout_height="wrap_content" android:layout_weight="1" tools:layout="@layout/fragment_simple_navigation" /> - <include - android:layout_width="1dp" + <View + android:id="@+id/space" + android:background="@null" android:layout_height="match_parent" - layout="@layout/horizontal_separator" /> + android:layout_width="@dimen/margin_large" + android:layout_weight="0"/> <fragment android:id="@+id/mapObjFragment" android:name="com.mapswithme.maps.MapObjectFragment" android:layout_width="0dp" - android:layout_height="match_parent" + android:layout_height="wrap_content" android:layout_weight="1" tools:layout="@layout/fragment_map_object" /> diff --git a/android/res/layout-land/fragment_simple_navigation.xml b/android/res/layout-land/fragment_simple_navigation.xml index 19313a1f64..4a07159cc2 100644 --- a/android/res/layout-land/fragment_simple_navigation.xml +++ b/android/res/layout-land/fragment_simple_navigation.xml @@ -11,26 +11,19 @@ android:id="@+id/staticData" android:layout_width="match_parent" android:layout_height="0dp" - android:padding="@dimen/margin_small" + android:layout_marginTop="@dimen/margin_medium" android:layout_weight="1" - android:background="@drawable/abs__item_background_holo_light" + android:background="@drawable/spinner_background_holo_light" android:gravity="center" - android:orientation="vertical" > + android:orientation="vertical" + android:padding="@dimen/margin_small" > <TextView android:id="@+id/dms" style="@style/Holo.TextAppearance.Medium.Light" android:layout_width="match_parent" android:layout_height="wrap_content" - android:gravity="center|left"/> - - <TextView - android:id="@+id/degrees" - style="@style/Holo.TextAppearance.Small.Light" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:gravity="center|left" - android:textColor="@android:color/darker_gray"/> + android:gravity="center|left" /> </LinearLayout> <LinearLayout @@ -46,7 +39,8 @@ android:id="@+id/distance" android:layout_width="match_parent" android:layout_height="wrap_content" - android:gravity="center" /> + android:gravity="center" + android:textStyle="bold" /> <com.mapswithme.maps.ArrowImage android:id="@+id/arrow" |