disable interaction w/ listview footers
This commit is contained in:
parent
1a401ae41e
commit
ee2c444cc5
@ -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="259"
|
android:versionCode="260"
|
||||||
android:versionName="1.55" >
|
android:versionName="1.56" >
|
||||||
|
|
||||||
<uses-sdk
|
<uses-sdk
|
||||||
android:minSdkVersion="9"
|
android:minSdkVersion="9"
|
||||||
|
@ -275,8 +275,9 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener,
|
|||||||
} else {
|
} else {
|
||||||
AdapterContextMenuInfo info = (AdapterContextMenuInfo)menuInfo;
|
AdapterContextMenuInfo info = (AdapterContextMenuInfo)menuInfo;
|
||||||
Article article = getArticleAtPosition(info.position);
|
Article article = getArticleAtPosition(info.position);
|
||||||
menu.setHeaderTitle(Html.fromHtml(article.title));
|
|
||||||
menu.setGroupVisible(R.id.menu_group_single_article, true);
|
menu.setHeaderTitle(Html.fromHtml(article.title));
|
||||||
|
menu.setGroupVisible(R.id.menu_group_single_article, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
menu.findItem(R.id.set_labels).setEnabled(m_activity.getApiLevel() >= 1);
|
menu.findItem(R.id.set_labels).setEnabled(m_activity.getApiLevel() >= 1);
|
||||||
@ -334,7 +335,7 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener,
|
|||||||
|
|
||||||
layout.setLayoutParams(new ListView.LayoutParams(ListView.LayoutParams.MATCH_PARENT, screenHeight));
|
layout.setLayoutParams(new ListView.LayoutParams(ListView.LayoutParams.MATCH_PARENT, screenHeight));
|
||||||
|
|
||||||
list.addFooterView(layout);
|
list.addFooterView(layout, null, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
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);
|
||||||
|
@ -315,7 +315,7 @@ public class OfflineHeadlinesFragment extends Fragment implements OnItemClickLis
|
|||||||
|
|
||||||
layout.setLayoutParams(new ListView.LayoutParams(ListView.LayoutParams.MATCH_PARENT, screenHeight));
|
layout.setLayoutParams(new ListView.LayoutParams(ListView.LayoutParams.MATCH_PARENT, screenHeight));
|
||||||
|
|
||||||
list.addFooterView(layout);
|
list.addFooterView(layout, null, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user