diff options
author | Andrew Dolgov <[email protected]> | 2013-05-18 14:38:47 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-05-18 14:38:47 +0400 |
commit | 48f2680916df329bbe34365ee58ceed67dc082ba (patch) | |
tree | a99231e6a8ae59793b4eab6c1b2c0206e921d16e | |
parent | 858e2c93c9b587d31eff69a8441c008f08947a21 (diff) |
fix padding on headlinesfragment removed needlessly in portrait mode on
sw600dp
-rw-r--r-- | src/org/fox/ttrss/HeadlinesFragment.java | 2 | ||||
-rw-r--r-- | src/org/fox/ttrss/offline/OfflineHeadlinesFragment.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/org/fox/ttrss/HeadlinesFragment.java b/src/org/fox/ttrss/HeadlinesFragment.java index 0c5b09ec..c8a791b0 100644 --- a/src/org/fox/ttrss/HeadlinesFragment.java +++ b/src/org/fox/ttrss/HeadlinesFragment.java @@ -273,7 +273,7 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener, //list.setEmptyView(view.findViewById(R.id.no_headlines)); registerForContextMenu(list); - if (m_activity.isSmallScreen() || m_activity.isPortrait()) + if (m_activity.isSmallScreen()) view.findViewById(R.id.headlines_fragment).setPadding(0, 0, 0, 0); Log.d(TAG, "onCreateView, feed=" + m_feed); diff --git a/src/org/fox/ttrss/offline/OfflineHeadlinesFragment.java b/src/org/fox/ttrss/offline/OfflineHeadlinesFragment.java index 85588195..b8ac6023 100644 --- a/src/org/fox/ttrss/offline/OfflineHeadlinesFragment.java +++ b/src/org/fox/ttrss/offline/OfflineHeadlinesFragment.java @@ -284,7 +284,7 @@ public class OfflineHeadlinesFragment extends Fragment implements OnItemClickLis list.setEmptyView(view.findViewById(R.id.no_headlines)); registerForContextMenu(list); - if (m_activity.isSmallScreen() || m_activity.isPortrait()) + if (m_activity.isSmallScreen()) view.findViewById(R.id.headlines_fragment).setPadding(0, 0, 0, 0); getActivity().setProgressBarIndeterminateVisibility(false); |