summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-06-20 14:39:01 +0400
committerAndrew Dolgov <[email protected]>2012-06-20 14:39:01 +0400
commitb4b781209f643302b69b696fbafcbe9ee0495f76 (patch)
treed45c66b83136c0c9bcd35a5864d5b396130886b3 /src
parentb7c9792ada57c2fcc398c95320bfbb57ae59fb35 (diff)
fix layout not restoring properly when article is open
Diffstat (limited to 'src')
-rw-r--r--src/org/fox/ttrss/MainActivity.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/org/fox/ttrss/MainActivity.java b/src/org/fox/ttrss/MainActivity.java
index f6d03915..63f5f0ea 100644
--- a/src/org/fox/ttrss/MainActivity.java
+++ b/src/org/fox/ttrss/MainActivity.java
@@ -494,6 +494,14 @@ public class MainActivity extends FragmentActivity implements OnlineServices {
m_headlinesActionModeCallback = new HeadlinesActionModeCallback();
}
+
+ if (m_smallScreenMode) {
+ if (m_selectedArticle != null) {
+ FragmentTransaction ft = getSupportFragmentManager().beginTransaction();
+ ft.hide(getSupportFragmentManager().findFragmentByTag(FRAG_HEADLINES));
+ ft.commit();
+ }
+ }
if (m_isOffline) {
Intent offline = new Intent(MainActivity.this,