diff --git a/OsmAnd/no_translate.xml b/OsmAnd/no_translate.xml index beaaa856b3..b07558b6c5 100644 --- a/OsmAnd/no_translate.xml +++ b/OsmAnd/no_translate.xml @@ -23,5 +23,7 @@ OsMo amenity name + Tag + Value diff --git a/OsmAnd/res/layout-land/map_hud_top.xml b/OsmAnd/res/layout-land/map_hud_top.xml index f5b367cdcc..21fa9ed909 100644 --- a/OsmAnd/res/layout-land/map_hud_top.xml +++ b/OsmAnd/res/layout-land/map_hud_top.xml @@ -1,37 +1,39 @@ + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="horizontal" + android:weightSum="1"> - + android:visibility="gone"/> + android:orientation="vertical"> + android:orientation="vertical"> + android:layout_height="wrap_content"/> - + - + @@ -39,23 +41,23 @@ android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" - android:orientation="vertical" > + android:orientation="vertical"> + android:minHeight="@dimen/map_address_height"> - + > + + android:textSize="@dimen/map_widget_text_size" + tools:text="Long Street Name"> + android:textSize="@dimen/map_widget_text_size" + tools:text="Long Street Name"> - + + android:orientation="horizontal"> + android:src="@drawable/ic_action_test_light"/> + android:textStyle="bold"/> + android:layout_weight="1"> + - - + android:textSize="@dimen/map_button_text_size" + tools:text="Waypoint"/> + - + android:textSize="@dimen/map_button_text_size" + tools:text="Waypoint"/> + + android:src="@drawable/ic_overflow_menu_white"/> + android:src="@drawable/ic_action_test_light"/> @@ -161,7 +163,7 @@ + android:layout_height="wrap_content"> + android:orientation="horizontal"> + android:src="@drawable/ic_action_test_light"/> + android:src="@drawable/ic_action_test_light"/> + android:orientation="vertical" + android:visibility="gone"> + android:layout_height="wrap_content"/> + android:layout_weight="1"> - + android:textSize="@dimen/map_widget_text_size_small" + tools:text="1048 km"/> + + android:textSize="@dimen/map_widget_text_size_small" + tools:text="1048 km"/> + - + android:visibility="gone"/> @@ -250,24 +252,24 @@ + android:layout_gravity="top|right"> + android:orientation="vertical"> + android:orientation="vertical"> - + - + + android:src="@drawable/ic_action_test_light"/> diff --git a/OsmAnd/res/layout-land/point_editor_fragment.xml b/OsmAnd/res/layout-land/point_editor_fragment.xml index bf7ffb95d2..62e6f5cef1 100644 --- a/OsmAnd/res/layout-land/point_editor_fragment.xml +++ b/OsmAnd/res/layout-land/point_editor_fragment.xml @@ -1,6 +1,7 @@ diff --git a/OsmAnd/res/layout/dash_storage_type_fragment.xml b/OsmAnd/res/layout/dash_storage_type_fragment.xml index f4780e78cd..234863de9f 100644 --- a/OsmAnd/res/layout/dash_storage_type_fragment.xml +++ b/OsmAnd/res/layout/dash_storage_type_fragment.xml @@ -44,7 +44,7 @@ android:id="@+id/location_path" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="Location path" + tools:text="Location path" android:textColor="@color/color_white" android:textSize="@dimen/default_list_text_size" /> @@ -52,7 +52,7 @@ android:id="@+id/location_desc" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="Location path \u2022 300 MB" + tools:text="Location path \u2022 300 MB" android:textColor="@color/color_white" android:textSize="@dimen/default_list_text_size" /> diff --git a/OsmAnd/res/layout/dashboard_toolbar.xml b/OsmAnd/res/layout/dashboard_toolbar.xml index cdff7b43ec..105970f18a 100644 --- a/OsmAnd/res/layout/dashboard_toolbar.xml +++ b/OsmAnd/res/layout/dashboard_toolbar.xml @@ -44,9 +44,9 @@ android:layout_height="wrap_content" android:layout_gravity="left" android:scaleType="center" - android:text="Toolbar" android:textColor="@color/abc_primary_text_material_dark" android:textSize="@dimen/abc_text_size_headline_material" + tools:text="Toolbar" tools:visibility="gone"/> - + + android:textColor="#72B123"/> + android:background="#B0B0B0"/> + android:textAppearance="?android:attr/textAppearanceSmall" + tools:text="18 supporters"/> + android:textAppearance="?android:attr/textAppearanceSmall" + tools:text="Funded: 65%"/> + android:src="@android:drawable/alert_dark_frame"/> \ No newline at end of file diff --git a/OsmAnd/res/layout/map_context_menu_fragment.xml b/OsmAnd/res/layout/map_context_menu_fragment.xml index fbf4f93113..be85bf4a77 100644 --- a/OsmAnd/res/layout/map_context_menu_fragment.xml +++ b/OsmAnd/res/layout/map_context_menu_fragment.xml @@ -198,7 +198,7 @@ android:layout_marginLeft="-4dp" android:clickable="true" android:gravity="center_vertical" - android:text="— 00:26" + tools:text="— 00:26" android:textColor="?android:textColorSecondary" android:textSize="@dimen/default_desc_text_size"/> diff --git a/OsmAnd/res/layout/map_hud_bottom.xml b/OsmAnd/res/layout/map_hud_bottom.xml index 8069c5aed0..e302c3bb40 100644 --- a/OsmAnd/res/layout/map_hud_bottom.xml +++ b/OsmAnd/res/layout/map_hud_bottom.xml @@ -1,13 +1,14 @@ + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_gravity="bottom" + android:orientation="vertical"> + android:layout_height="wrap_content"> + android:layout_marginLeft="@dimen/map_button_shadow_margin"> + android:src="@drawable/warnings_limit"/> + android:textStyle="bold" + tools:text="60"/> + android:background="@drawable/btn_round_trans"> + android:src="@drawable/ic_action_test_light"/> + android:textSize="@dimen/map_button_text_size"/> + android:orientation="horizontal"> + android:layout_gravity="center"/> + android:src="@drawable/headliner_close"/> + android:layout_marginLeft="@dimen/map_button_margin"> + android:src="@drawable/ic_action_test_light"/> + android:src="@drawable/ic_action_test_light"/> + android:layout_marginLeft="@dimen/map_button_margin"> + android:layout_marginBottom="@dimen/map_ruler_bottom_margin"> + - - + android:textSize="@dimen/map_widget_text_size_small" + tools:text="100 m"/> + + android:textSize="@dimen/map_widget_text_size_small" + tools:text="100 m"/> @@ -146,7 +147,7 @@ android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_gravity="bottom" - android:background="@drawable/ruler" /> + android:background="@drawable/ruler"/> @@ -155,7 +156,7 @@ android:layout_height="wrap_content" android:layout_gravity="bottom|right" android:layout_marginBottom="@dimen/map_button_margin" - android:layout_marginRight="@dimen/map_button_margin" > + android:layout_marginRight="@dimen/map_button_margin"> + android:src="@drawable/ic_action_test_light"/> + android:orientation="vertical"> + android:src="@drawable/ic_action_test_light"/> + android:src="@drawable/ic_action_test_light"/> + + android:layout_height="wrap_content"> + + android:visibility="gone"> + android:gravity="center"> + android:src="@drawable/ic_action_test_light"/> + android:src="@drawable/ic_action_test_light"/> diff --git a/OsmAnd/res/layout/map_hud_top.xml b/OsmAnd/res/layout/map_hud_top.xml index 90930692ca..15108bf112 100644 --- a/OsmAnd/res/layout/map_hud_top.xml +++ b/OsmAnd/res/layout/map_hud_top.xml @@ -1,8 +1,9 @@ + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical"> @@ -11,51 +12,51 @@ android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="@drawable/btn_flat" - android:minHeight="@dimen/map_address_height" > + android:minHeight="@dimen/map_address_height"> - + + + + android:layout_gravity="center" + android:ellipsize="end" + android:maxLines="1" + android:singleLine="true" + android:textColor="@color/color_black" + android:textSize="@dimen/map_widget_text_size" + tools:text="Long Street Name"> + - - - - - - - + + + + android:orientation="horizontal" + android:visibility="gone"> + android:src="@drawable/ic_action_test_light"/> + android:textStyle="bold"/> - + + + android:ellipsize="end" + android:maxLines="2" + android:textColor="@color/color_black" + android:textSize="@dimen/map_button_text_size" + tools:text="Waypoint"/> - - - - - + + + + android:src="@drawable/ic_action_test_light"/> + android:src="@drawable/ic_action_test_light"/> + android:layout_height="match_parent"> @@ -133,21 +134,21 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" - android:weightSum="1" > + android:weightSum="1"> + android:orientation="vertical"> + android:orientation="vertical"> @@ -185,7 +186,7 @@ + android:layout_weight="0.55"> @@ -195,38 +196,38 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" - android:weightSum="1" > + android:weightSum="1"> + android:layout_weight="0.55"> + android:layout_weight="0.45"> + android:orientation="vertical"> + android:orientation="vertical"> - + - + + android:src="@drawable/ic_action_test_light"/> @@ -249,18 +250,18 @@ android:layout_marginTop="@dimen/map_button_margin" android:background="@drawable/btn_round" android:orientation="vertical" - android:visibility="gone" > + android:visibility="gone"> + android:layout_height="wrap_content"/> + android:layout_weight="1"> - + android:textSize="@dimen/map_widget_text_size_small" + tools:text="1048 km"/> + + android:textSize="@dimen/map_widget_text_size_small" + tools:text="1048 km"/> @@ -293,7 +294,7 @@ android:layout_marginRight="@dimen/map_button_margin" android:max="100" android:progress="60" - android:visibility="gone" /> + android:visibility="gone"/> diff --git a/OsmAnd/res/layout/poi_tag_list_item.xml b/OsmAnd/res/layout/poi_tag_list_item.xml index 99b43bb8bb..633cc5cc63 100644 --- a/OsmAnd/res/layout/poi_tag_list_item.xml +++ b/OsmAnd/res/layout/poi_tag_list_item.xml @@ -2,9 +2,9 @@ @@ -19,7 +19,7 @@ android:id="@+id/tagEditText" android:layout_width="match_parent" android:layout_height="wrap_content" - android:hint="Tag" + android:hint="@string/hint_tag" tools:text="Tag text"/> @@ -33,7 +33,7 @@ android:id="@+id/valueEditText" android:layout_width="match_parent" android:layout_height="wrap_content" - android:hint="Value"/> + android:hint="@string/hint_value"/> @@ -43,5 +43,6 @@ android:layout_width="48dp" android:layout_height="48dp" android:layout_gravity="bottom" + android:contentDescription="@string/shared_string_delete" tools:src="@drawable/ic_action_close_dark"/> \ No newline at end of file diff --git a/OsmAnd/res/layout/point_editor_fragment.xml b/OsmAnd/res/layout/point_editor_fragment.xml index d815c61957..0829b3efe3 100644 --- a/OsmAnd/res/layout/point_editor_fragment.xml +++ b/OsmAnd/res/layout/point_editor_fragment.xml @@ -1,6 +1,7 @@ @@ -136,7 +138,7 @@ android:layout_marginLeft="8dp" android:textColor="?android:textColorPrimary" android:textColorHint="?android:textColorSecondary" - android:text="Name" + tools:text="Name" android:imeOptions="actionDone" android:inputType="text"/>