From c15e32a6a867b7536f8adcff1dff6be1fc087e38 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 1 Jan 2013 17:48:03 +0400 Subject: [PATCH] article: do not use embedded webview titlebar in portrait mode --- src/org/fox/ttrss/ArticleFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/fox/ttrss/ArticleFragment.java b/src/org/fox/ttrss/ArticleFragment.java index ccd7703f..38b66290 100644 --- a/src/org/fox/ttrss/ArticleFragment.java +++ b/src/org/fox/ttrss/ArticleFragment.java @@ -177,7 +177,7 @@ public class ArticleFragment extends Fragment implements GestureDetector.OnDoubl TitleBarWebView web = (TitleBarWebView)view.findViewById(R.id.content); if (web != null) { - if (m_activity.isSmallScreen()) { + if (!m_activity.isPortrait() && m_activity.isSmallScreen()) { View header = view.findViewById(R.id.article_header); LinearLayout article = (LinearLayout)view.findViewById(R.id.article_fragment); article.removeView(header);