From 8b9825f059b8037f6cf2fc64b0f41dbc0cb2284c Mon Sep 17 00:00:00 2001 From: Bananeweizen Date: Fri, 20 Feb 2015 20:06:31 +0100 Subject: fix #4628: make personal note links clickable --- main/res/values/changelog_master.xml | 1 + main/src/cgeo/geocaching/CacheDetailActivity.java | 2 ++ 2 files changed, 3 insertions(+) (limited to 'main') diff --git a/main/res/values/changelog_master.xml b/main/res/values/changelog_master.xml index 4b5bf66..a01610e 100644 --- a/main/res/values/changelog_master.xml +++ b/main/res/values/changelog_master.xml @@ -13,6 +13,7 @@ · New: Filter for caches with offline logs\n · New: Allow export of waypoints without coords to Locus\n · New: Confirmation on backup/restore\n + · New: Links in personal notes can be clicked\n · Fix: Don\'t allow logs in the future\n · Fix: Allow shortcut creation for All caches list\n · Fix: Some menus not available when invoking map from compass\n diff --git a/main/src/cgeo/geocaching/CacheDetailActivity.java b/main/src/cgeo/geocaching/CacheDetailActivity.java index d80431f..93f2d31 100644 --- a/main/src/cgeo/geocaching/CacheDetailActivity.java +++ b/main/src/cgeo/geocaching/CacheDetailActivity.java @@ -102,6 +102,7 @@ import android.text.Spanned; import android.text.style.ForegroundColorSpan; import android.text.style.StrikethroughSpan; import android.text.style.StyleSpan; +import android.text.util.Linkify; import android.util.TypedValue; import android.view.ContextMenu; import android.view.Menu; @@ -2168,6 +2169,7 @@ public class CacheDetailActivity extends AbstractViewPagerActivity