diff --git a/OsmAnd/res/layout-land/fragment_measurement_tool.xml b/OsmAnd/res/layout-land/fragment_measurement_tool.xml index 710a81682c..91bc741fab 100644 --- a/OsmAnd/res/layout-land/fragment_measurement_tool.xml +++ b/OsmAnd/res/layout-land/fragment_measurement_tool.xml @@ -1,20 +1,21 @@ - + android:clickable="true" + android:focusable="true"> + tools:visibility="visible" /> @@ -69,43 +70,39 @@ android:id="@+id/measurement_distance_text_view" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_centerVertical="true" - android:layout_marginEnd="@dimen/measurement_tool_text_margin" - android:layout_marginLeft="@dimen/measurement_tool_text_margin" - android:layout_marginRight="@dimen/measurement_tool_text_margin" - android:layout_marginStart="@dimen/measurement_tool_text_margin" + android:layout_marginStart="@dimen/measurement_tool_text_button_padding" + android:layout_marginLeft="@dimen/measurement_tool_text_button_padding" + android:layout_marginTop="@dimen/measurement_tool_button_padding" + android:layout_marginEnd="@dimen/text_margin_small" + android:layout_marginRight="@dimen/text_margin_small" android:layout_toEndOf="@id/main_icon" android:layout_toRightOf="@id/main_icon" android:textAppearance="@style/TextAppearance.ListItemTitle" - tools:text="724 m,"/> + tools:text="724 m," /> + android:layout_alignRight="@id/up_down_button" + android:layout_marginTop="@dimen/measurement_tool_button_padding" + android:textAppearance="@style/TextAppearance.ListItemCategoryTitle" + tools:text="points: 3" /> + android:layout_below="@id/measurement_points_text_view" + android:layout_alignStart="@+id/measurement_distance_text_view" + android:layout_alignLeft="@+id/measurement_distance_text_view" + android:maxLines="1" + android:textColor="?android:textColorSecondary" + android:textSize="@dimen/default_desc_text_size" + tools:text=" – 700 m" /> - + android:layout_height="@dimen/measurement_tool_controls_height_land" + android:layout_weight="0.55" + android:padding="@dimen/content_padding_half"> - - - - - - + android:maxLines="1" + android:padding="@dimen/measurement_tool_text_button_padding_small" + android:text="@string/shared_string_options" + android:textColor="?attr/color_dialog_buttons" + osmand:typeface="@string/font_roboto_medium" /> - - - + android:layout_centerInParent="true"> -