From 2be7fe1c7746f8e4e25f17e654216a980fbf8526 Mon Sep 17 00:00:00 2001 From: madwasp79 Date: Mon, 8 Jul 2019 16:48:56 +0300 Subject: [PATCH] add menu on save current track 2/2 add utility method to insert styled substring. --- .../layout/fragment_on_save_current_track.xml | 21 ++++++----- OsmAnd/res/values/strings.xml | 3 +- OsmAnd/src/net/osmand/AndroidUtils.java | 24 ++++++++++++ .../OnSaveCurrentTrackFragment.java | 37 +++++++++++-------- 4 files changed, 58 insertions(+), 27 deletions(-) diff --git a/OsmAnd/res/layout/fragment_on_save_current_track.xml b/OsmAnd/res/layout/fragment_on_save_current_track.xml index c4dc6ffd06..ea38ee7d03 100644 --- a/OsmAnd/res/layout/fragment_on_save_current_track.xml +++ b/OsmAnd/res/layout/fragment_on_save_current_track.xml @@ -21,19 +21,20 @@ android:orientation="horizontal" android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingBottom="12dp"> + android:paddingBottom="@dimen/content_padding_small">