disable headlines webview for the time being due to measurement and
other issues add feature graphic
This commit is contained in:
parent
a88c49c633
commit
88dcb055a2
BIN
feature_graphic.png
Normal file
BIN
feature_graphic.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 78 KiB |
@ -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"
|
||||
|
@ -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 : "";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user