[android] Changed maplayers dialog items order, strings

This commit is contained in:
Dmitry Donskoy 2020-01-31 18:29:06 +03:00 committed by Daria Volvenkova
parent d033114cb7
commit 0f8ec4ee7d
3 changed files with 4 additions and 4 deletions

View file

@ -87,7 +87,7 @@ public abstract class BottomSheetItem
{
private Isolines(int drawableResId, int disabledStateDrawableResId)
{
super(drawableResId, disabledStateDrawableResId, R.string.button_layer_traffic, Mode.ISOLINES);
super(drawableResId, disabledStateDrawableResId, R.string.button_layer_isolines, Mode.ISOLINES);
}
public static BottomSheetItem makeInstance(@NonNull Context mContext)

View file

@ -96,7 +96,7 @@ public class ToggleMapLayerDialog extends DialogFragment
Pair<BottomSheetItem, OnItemClickListener<BottomSheetItem>> isoLines
= new Pair<>(BottomSheetItem.Isolines.makeInstance(getContext()), isoLinesListener);
return Arrays.asList(traffic, subway, isoLines);
return Arrays.asList(traffic, isoLines, subway);
}
public static void show(@NonNull AppCompatActivity activity)

View file

@ -74,8 +74,8 @@ public enum Tutorial
},
ISOLINES(R.string.tips_map_layers_title_countour,
R.string.tips_map_layers_message_countour,
R.id.isolines, null, MwmActivity.class)
R.string.tips_map_layers_message_countour,
R.id.isolines, null, MwmActivity.class)
{
@NonNull