diff options
author | Andrew Dolgov <[email protected]> | 2015-05-12 16:18:31 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2015-05-12 16:18:31 +0300 |
commit | aefb9b45915b0db5487bb28d0cf6765e758ad42d (patch) | |
tree | 10aea12d51acd12a9112dd517dbf81107532c3d9 /org.fox.ttrss/src/main/java | |
parent | 8484fa22e6666d87a0180e94b3182e4ff603118f (diff) |
fix swiperefreshlayout clipping under actionbar
Diffstat (limited to 'org.fox.ttrss/src/main/java')
-rwxr-xr-x | org.fox.ttrss/src/main/java/org/fox/ttrss/HeadlinesFragment.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/org.fox.ttrss/src/main/java/org/fox/ttrss/HeadlinesFragment.java b/org.fox.ttrss/src/main/java/org/fox/ttrss/HeadlinesFragment.java index 49867467..81fd3a09 100755 --- a/org.fox.ttrss/src/main/java/org/fox/ttrss/HeadlinesFragment.java +++ b/org.fox.ttrss/src/main/java/org/fox/ttrss/HeadlinesFragment.java @@ -369,6 +369,10 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener, if (m_activity.isSmallScreen()) { View layout = inflater.inflate(R.layout.headlines_heading_spacer, m_list, false); m_list.addHeaderView(layout); + + m_swipeLayout.setProgressViewOffset(false, 0, + m_activity.getResources().getDimensionPixelSize(R.dimen.abc_action_bar_default_height_material) + + m_activity.getResources().getDimensionPixelSize(R.dimen.abc_action_bar_default_padding_material)); } m_adapter = new ArticleListAdapter(getActivity(), R.layout.headlines_row, (ArrayList<Article>)m_articles); |