summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2014-10-15 23:45:14 +0400
committerAndrew Dolgov <[email protected]>2014-10-15 23:45:14 +0400
commit88dcb055a2bb81fa226a9233d7e08fca0bdae805 (patch)
tree399a8885347f75ad4c49f2890be339ad6d9173d2
parenta88c49c633c4fd81ba0d31182944f3145efaa99a (diff)
disable headlines webview for the time being due to measurement and
other issues add feature graphic
-rw-r--r--feature_graphic.pngbin0 -> 80284 bytes
-rw-r--r--res/xml/preferences.xml4
-rw-r--r--src/org/fox/ttrss/HeadlinesFragment.java6
3 files changed, 5 insertions, 5 deletions
diff --git a/feature_graphic.png b/feature_graphic.png
new file mode 100644
index 00000000..ba9f4ae1
--- /dev/null
+++ b/feature_graphic.png
Binary files differ
diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml
index 69942c86..bd45d553 100644
--- a/res/xml/preferences.xml
+++ b/res/xml/preferences.xml
@@ -93,11 +93,11 @@
android:summary="@string/pref_headlines_show_content_long"
android:title="@string/pref_headlines_show_content" />
- <CheckBoxPreference
+ <!-- <CheckBoxPreference
android:defaultValue="false"
android:key="headlines_full_content"
android:summary="@string/pref_headlines_full_content_long"
- android:title="@string/pref_headlines_full_content" />
+ android:title="@string/pref_headlines_full_content" /> -->
<CheckBoxPreference
android:defaultValue="false"
diff --git a/src/org/fox/ttrss/HeadlinesFragment.java b/src/org/fox/ttrss/HeadlinesFragment.java
index caeba009..66202e3c 100644
--- a/src/org/fox/ttrss/HeadlinesFragment.java
+++ b/src/org/fox/ttrss/HeadlinesFragment.java
@@ -786,7 +786,7 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener,
String articleContent = article.content != null ? article.content : "";
- if (m_prefs.getBoolean("headlines_full_content", false)) {
+ /* if (m_prefs.getBoolean("headlines_full_content", false)) {
final WebView content = (WebView)v.findViewById(R.id.content);
if (content != null) {
@@ -858,7 +858,7 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener,
content.loadDataWithBaseURL(baseUrl, articleContent, "text/html", "utf-8", null);
}
- } else {
+ } else { */
if (te != null) {
if (!m_prefs.getBoolean("headlines_show_content", true)) {
te.setVisibility(View.GONE);
@@ -872,7 +872,7 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener,
te.setText(excerpt);
}
}
- }
+ // }
String articleAuthor = article.author != null ? article.author : "";