add workaround for top headline glitching out behind the toolbar while refreshing through fab
This commit is contained in:
parent
afccfa1003
commit
26e14506c5
@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="org.fox.ttrss"
|
||||
android:versionCode="352"
|
||||
android:versionName="1.125" >
|
||||
android:versionCode="353"
|
||||
android:versionName="1.126" >
|
||||
|
||||
<uses-sdk
|
||||
android:minSdkVersion="15"
|
||||
|
@ -535,6 +535,11 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener,
|
||||
|
||||
m_adapter.notifyDataSetChanged();
|
||||
m_listener.onHeadlinesLoaded(fappend);
|
||||
|
||||
// not sure why but listview sometimes gets positioned while ignoring the header so
|
||||
// top headline content becomes partially obscured by the toolbar on phones
|
||||
// (not reproducible on avd)
|
||||
if (!fappend) m_list.smoothScrollToPosition(0);
|
||||
|
||||
} else {
|
||||
if (m_lastError == ApiError.LOGIN_FAILED) {
|
||||
|
Loading…
Reference in New Issue
Block a user