diff --git a/OsmAnd/res/layout/import_track_card.xml b/OsmAnd/res/layout/import_track_card.xml index 50cb493196..3f3ccf7d64 100644 --- a/OsmAnd/res/layout/import_track_card.xml +++ b/OsmAnd/res/layout/import_track_card.xml @@ -18,6 +18,7 @@ android:paddingRight="@dimen/content_padding" android:text="@string/import_track_descr" android:textAppearance="@style/TextAppearance.ContextMenuSubtitle" + android:textColor="?android:textColorSecondary" osmand:typeface="@string/font_roboto_regular" /> diff --git a/OsmAnd/res/layout/navigate_track_options_card.xml b/OsmAnd/res/layout/navigate_track_options_card.xml index a89c2d810d..b3198d89ba 100644 --- a/OsmAnd/res/layout/navigate_track_options_card.xml +++ b/OsmAnd/res/layout/navigate_track_options_card.xml @@ -11,16 +11,16 @@ + android:orientation="vertical"> diff --git a/OsmAnd/src/net/osmand/plus/routepreparationmenu/FollowTrackFragment.java b/OsmAnd/src/net/osmand/plus/routepreparationmenu/FollowTrackFragment.java index d8b74777b3..c31e08460e 100644 --- a/OsmAnd/src/net/osmand/plus/routepreparationmenu/FollowTrackFragment.java +++ b/OsmAnd/src/net/osmand/plus/routepreparationmenu/FollowTrackFragment.java @@ -40,10 +40,10 @@ import net.osmand.plus.helpers.GpxUiHelper; import net.osmand.plus.helpers.GpxUiHelper.GPXInfo; import net.osmand.plus.helpers.ImportHelper; import net.osmand.plus.helpers.ImportHelper.OnGpxImportCompleteListener; -import net.osmand.plus.measurementtool.MeasurementEditingContext; -import net.osmand.plus.measurementtool.MeasurementToolFragment; import net.osmand.plus.measurementtool.GpxData; import net.osmand.plus.measurementtool.GpxData.ActionType; +import net.osmand.plus.measurementtool.MeasurementEditingContext; +import net.osmand.plus.measurementtool.MeasurementToolFragment; import net.osmand.plus.routepreparationmenu.RoutingOptionsHelper.LocalRoutingParameter; import net.osmand.plus.routepreparationmenu.RoutingOptionsHelper.OtherLocalRoutingParameter; import net.osmand.plus.routepreparationmenu.cards.AttachTrackToRoadsCard; @@ -195,7 +195,7 @@ public class FollowTrackFragment extends ContextMenuScrollFragment implements Ca SelectTrackCard selectTrackCard = new SelectTrackCard(mapActivity); selectTrackCard.setListener(this); cardsContainer.addView(selectTrackCard.build(mapActivity)); - cardsContainer.addView(buildDividerView(cardsContainer,false)); + cardsContainer.addView(buildDividerView(cardsContainer, false)); ApplicationMode mode = app.getRoutingHelper().getAppMode(); @@ -213,7 +213,7 @@ public class FollowTrackFragment extends ContextMenuScrollFragment implements Ca cardsContainer.addView(reverseTrackCard.build(mapActivity)); // } if (!gpxFile.hasRtePt()) { - cardsContainer.addView(buildDividerView(cardsContainer,true)); + cardsContainer.addView(buildDividerView(cardsContainer, true)); AttachTrackToRoadsCard attachTrackCard = new AttachTrackToRoadsCard(mapActivity); attachTrackCard.setListener(this); @@ -519,7 +519,7 @@ public class FollowTrackFragment extends ContextMenuScrollFragment implements Ca dismiss(); } }); - UiUtilities.setupDialogButton(isNightMode(), cancelButton, DialogButtonType.SECONDARY, R.string.shared_string_cancel); + UiUtilities.setupDialogButton(isNightMode(), cancelButton, DialogButtonType.SECONDARY, R.string.shared_string_close); } private void setupScrollShadow() {