article: do not use embedded webview titlebar in portrait mode
This commit is contained in:
parent
09c3fdf39c
commit
c15e32a6a8
@ -177,7 +177,7 @@ public class ArticleFragment extends Fragment implements GestureDetector.OnDoubl
|
|||||||
TitleBarWebView web = (TitleBarWebView)view.findViewById(R.id.content);
|
TitleBarWebView web = (TitleBarWebView)view.findViewById(R.id.content);
|
||||||
|
|
||||||
if (web != null) {
|
if (web != null) {
|
||||||
if (m_activity.isSmallScreen()) {
|
if (!m_activity.isPortrait() && m_activity.isSmallScreen()) {
|
||||||
View header = view.findViewById(R.id.article_header);
|
View header = view.findViewById(R.id.article_header);
|
||||||
LinearLayout article = (LinearLayout)view.findViewById(R.id.article_fragment);
|
LinearLayout article = (LinearLayout)view.findViewById(R.id.article_fragment);
|
||||||
article.removeView(header);
|
article.removeView(header);
|
||||||
|
Loading…
Reference in New Issue
Block a user