diff options
author | Andrew Dolgov <[email protected]> | 2014-11-02 17:15:34 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2014-11-02 17:15:34 +0300 |
commit | ee2c444cc5378d8720baa5bed1feb6f4da05828c (patch) | |
tree | 75b047387bccaf317c6777884d1460717ce56c20 /org.fox.ttrss | |
parent | 1a401ae41e19d4e0e5e8657b08d1382543c325d8 (diff) |
disable interaction w/ listview footers
Diffstat (limited to 'org.fox.ttrss')
3 files changed, 7 insertions, 6 deletions
diff --git a/org.fox.ttrss/src/main/AndroidManifest.xml b/org.fox.ttrss/src/main/AndroidManifest.xml index d372ab05..81ebae2e 100644 --- a/org.fox.ttrss/src/main/AndroidManifest.xml +++ b/org.fox.ttrss/src/main/AndroidManifest.xml @@ -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="259" - android:versionName="1.55" > + android:versionCode="260" + android:versionName="1.56" > <uses-sdk android:minSdkVersion="9" 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 8c832520..84cdb48a 100644 --- a/org.fox.ttrss/src/main/java/org/fox/ttrss/HeadlinesFragment.java +++ b/org.fox.ttrss/src/main/java/org/fox/ttrss/HeadlinesFragment.java @@ -275,8 +275,9 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener, } else { AdapterContextMenuInfo info = (AdapterContextMenuInfo)menuInfo; 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); @@ -334,7 +335,7 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener, 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); diff --git a/org.fox.ttrss/src/main/java/org/fox/ttrss/offline/OfflineHeadlinesFragment.java b/org.fox.ttrss/src/main/java/org/fox/ttrss/offline/OfflineHeadlinesFragment.java index 50815f8d..245be57b 100644 --- a/org.fox.ttrss/src/main/java/org/fox/ttrss/offline/OfflineHeadlinesFragment.java +++ b/org.fox.ttrss/src/main/java/org/fox/ttrss/offline/OfflineHeadlinesFragment.java @@ -315,7 +315,7 @@ public class OfflineHeadlinesFragment extends Fragment implements OnItemClickLis layout.setLayoutParams(new ListView.LayoutParams(ListView.LayoutParams.MATCH_PARENT, screenHeight)); - list.addFooterView(layout); + list.addFooterView(layout, null, false); } |