fix swiperefreshlayout clipping under actionbar
This commit is contained in:
parent
8484fa22e6
commit
aefb9b4591
@ -1,8 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="org.fox.ttrss"
|
package="org.fox.ttrss"
|
||||||
android:versionCode="328"
|
android:versionCode="329"
|
||||||
android:versionName="1.102" >
|
android:versionName="1.103" >
|
||||||
|
|
||||||
<uses-sdk
|
<uses-sdk
|
||||||
android:minSdkVersion="15"
|
android:minSdkVersion="15"
|
||||||
|
@ -369,6 +369,10 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener,
|
|||||||
if (m_activity.isSmallScreen()) {
|
if (m_activity.isSmallScreen()) {
|
||||||
View layout = inflater.inflate(R.layout.headlines_heading_spacer, m_list, false);
|
View layout = inflater.inflate(R.layout.headlines_heading_spacer, m_list, false);
|
||||||
m_list.addHeaderView(layout);
|
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);
|
m_adapter = new ArticleListAdapter(getActivity(), R.layout.headlines_row, (ArrayList<Article>)m_articles);
|
||||||
|
Loading…
Reference in New Issue
Block a user