]> gitweb.fperrin.net Git - Dictionary.git/blobdiff - src/com/hughes/android/dictionary/DictionaryActivity.java
Highlight text in WebView.
[Dictionary.git] / src / com / hughes / android / dictionary / DictionaryActivity.java
index 7a0230f0db37e5bce3b690afaf3820ce6c063de3..01933557837d462c53e2d21898ec5d267da82964 100644 (file)
@@ -1197,7 +1197,7 @@ public class DictionaryActivity extends ListActivity {
                     public void onClick(View v) {
                         final String html = HtmlEntry.htmlBody(htmlEntries);
                         startActivity(HtmlDisplayActivity.getHtmlIntent(String.format(
-                                "<html><head></head><body>%s</body></html>", html)));
+                                "<html><head></head><body>%s</body></html>", html), text));
                     }
                 });
                 tableRow.addView(button);