Fix strings

This commit is contained in:
PavelRatushny 2017-12-07 13:17:56 +02:00
parent 358166b4b4
commit a2bce74f74
3 changed files with 11 additions and 3 deletions

View file

@ -385,11 +385,13 @@
android:src="@drawable/map_action_fav_dark"/>
<net.osmand.plus.widgets.TextViewEx
android:maxLines="1"
android:ellipsize="end"
android:id="@+id/context_menu_fav_text_view"
android:layout_marginTop="@dimen/context_menu_padding_margin_small"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/favourites_context_menu_add"
tools:text="@string/shared_string_add"
android:textColor="@color/ctx_menu_buttons_text_color"
android:textSize="@dimen/default_sub_text_size"
osmand:typeface="@string/font_roboto_regular"/>
@ -415,6 +417,8 @@
android:src="@drawable/map_action_flag_dark"/>
<net.osmand.plus.widgets.TextViewEx
android:maxLines="1"
android:ellipsize="end"
android:id="@+id/context_menu_route_text_view"
android:layout_marginTop="@dimen/context_menu_padding_margin_small"
android:layout_width="wrap_content"
@ -446,6 +450,8 @@
android:src="@drawable/map_action_gshare_dark"/>
<net.osmand.plus.widgets.TextViewEx
android:maxLines="1"
android:ellipsize="end"
android:id="@+id/context_menu_share_text_view"
android:layout_marginTop="@dimen/context_menu_padding_margin_small"
android:layout_width="wrap_content"
@ -477,6 +483,8 @@
android:src="@drawable/map_overflow_menu_white"/>
<net.osmand.plus.widgets.TextViewEx
android:maxLines="1"
android:ellipsize="end"
android:id="@+id/context_menu_more_text_view"
android:layout_marginTop="@dimen/context_menu_padding_margin_small"
android:layout_width="wrap_content"

View file

@ -403,7 +403,7 @@ public abstract class MenuController extends BaseMenuController {
}
public int getFavActionStringId() {
return R.string.favourites_context_menu_add;
return R.string.shared_string_add;
}
public int getWaypointActionIconId() {

View file

@ -96,7 +96,7 @@ public class FavouritePointMenuController extends MenuController {
@Override
public int getFavActionStringId() {
return R.string.favourites_context_menu_edit;
return R.string.shared_string_edit;
}
@Override