From ef789edffd1905d1b66c90aa7392fd97252ccbb5 Mon Sep 17 00:00:00 2001 From: "David A. Madore" Date: Sun, 2 May 2010 00:16:58 +0200 Subject: Title decode string results as "decode results". The string itself may contain nasty stuff, or be too long, or whatever: avoid using it as title. --- res/values/strings.xml | 1 + src/org/madore/android/unicodeMap/UnicodeMapActivity.java | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index 9788cdf..aee9313 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -28,6 +28,7 @@ Decode Paste Unicode characters here to see their names + decode results About About Unicode Map Unicode Map version 0.0.2\nby David diff --git a/src/org/madore/android/unicodeMap/UnicodeMapActivity.java b/src/org/madore/android/unicodeMap/UnicodeMapActivity.java index f50ef1f..9db0476 100644 --- a/src/org/madore/android/unicodeMap/UnicodeMapActivity.java +++ b/src/org/madore/android/unicodeMap/UnicodeMapActivity.java @@ -568,7 +568,8 @@ public final class UnicodeMapActivity extends ListActivity { } protected void doDecode(String s) { - Display newDisp = new DecodeDisplay(s, s); + Display newDisp = new DecodeDisplay(getResources().getString(R.string.decode_results), + s); saveDisplay(); doDisplay(newDisp, true); } -- cgit v1.2.3