From c70da136c85262aa6f49e4287909c03ceee89dea Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 15 Oct 2014 17:04:52 +0400 Subject: [PATCH] experimental webview headlines stuff --- res/layout/headlines_row.xml | 7 +++ res/layout/headlines_row_selected.xml | 7 +++ res/layout/headlines_row_selected_unread.xml | 7 +++ res/layout/headlines_row_unread.xml | 7 +++ src/org/fox/ttrss/HeadlinesFragment.java | 57 +++++++++++++++++++- 5 files changed, 84 insertions(+), 1 deletion(-) diff --git a/res/layout/headlines_row.xml b/res/layout/headlines_row.xml index 8d3b4c26..326ff49c 100644 --- a/res/layout/headlines_row.xml +++ b/res/layout/headlines_row.xml @@ -84,6 +84,13 @@ android:textColor="?headlineExcerptTextColor" android:textSize="13sp" /> + + + + + + + + " + + "" + + "" + + "" + + "" + + "" + articleContent + ""; + + WebSettings ws = content.getSettings(); + ws.setSupportZoom(false); + ws.setDefaultFontSize(headlineFontSize); + + content.loadDataWithBaseURL(baseUrl, articleContent, "text/html", "utf-8", null); + + + } String articleAuthor = article.author != null ? article.author : "";