aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2012-01-24 21:38:05 +0100
committerBananeweizen <bananeweizen@gmx.de>2012-01-24 21:38:05 +0100
commitbeb7f7be8f127fba5ad333d6c31cefd1596157b6 (patch)
tree8a99b0001f9f95044a4eb1d679424571a76847a5 /main/src/cgeo/geocaching
parenta5c6a6dd79ed24080026568b469a68867f333284 (diff)
downloadcgeo-beb7f7be8f127fba5ad333d6c31cefd1596157b6.zip
cgeo-beb7f7be8f127fba5ad333d6c31cefd1596157b6.tar.gz
cgeo-beb7f7be8f127fba5ad333d6c31cefd1596157b6.tar.bz2
fix #1033: links in TB log don't work
Diffstat (limited to 'main/src/cgeo/geocaching')
-rw-r--r--main/src/cgeo/geocaching/cgeotrackable.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/cgeotrackable.java b/main/src/cgeo/geocaching/cgeotrackable.java
index ae8c603..74bdca2 100644
--- a/main/src/cgeo/geocaching/cgeotrackable.java
+++ b/main/src/cgeo/geocaching/cgeotrackable.java
@@ -465,7 +465,9 @@ public class cgeotrackable extends AbstractActivity {
});
}
- ((TextView) rowView.findViewById(R.id.log)).setText(Html.fromHtml(log.log, new HtmlImage(cgeotrackable.this, null, false, 0, false), null), TextView.BufferType.SPANNABLE);
+ TextView logView = (TextView) rowView.findViewById(R.id.log);
+ logView.setMovementMethod(LinkMovementMethod.getInstance());
+ logView.setText(Html.fromHtml(log.log, new HtmlImage(cgeotrackable.this, null, false, 0, false), null), TextView.BufferType.SPANNABLE);
((TextView) rowView.findViewById(R.id.author)).setOnClickListener(new userActions());
listView.addView(rowView);