summaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorMartin Fietz <marf@hadiko-99-4.hadiko.uni-karlsruhe.de>2015-04-26 13:37:27 +0200
committerMartin Fietz <Martin.Fietz@gmail.com>2015-05-10 10:50:22 +0200
commit9ec0d735c86c62c2d2a65229c1f1bf8e0e44dec5 (patch)
treeebbf3d493fec2e45eb718d5bf95501f0dbd9fae3 /app/src/main/res
parent2cfd15fe88b216e922fb066eaba43fc776a90a69 (diff)
downloadAntennaPod-9ec0d735c86c62c2d2a65229c1f1bf8e0e44dec5.zip
Add feed item filter
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/feeditemlist_header.xml15
-rw-r--r--app/src/main/res/menu/feedlist.xml7
2 files changed, 20 insertions, 2 deletions
diff --git a/app/src/main/res/layout/feeditemlist_header.xml b/app/src/main/res/layout/feeditemlist_header.xml
index 4619580e3..943f4fc92 100644
--- a/app/src/main/res/layout/feeditemlist_header.xml
+++ b/app/src/main/res/layout/feeditemlist_header.xml
@@ -3,7 +3,7 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
- android:layout_height="@dimen/feeditemlist_header_height"
+ android:layout_height="wrap_content"
tools:context="de.danoeh.antennapod.activity.MainActivity"
tools:background="@android:color/darker_gray">
@@ -11,7 +11,7 @@
android:id="@+id/imgvBackground"
style="@style/BigBlurryBackground"
android:layout_width="match_parent"
- android:layout_height="match_parent" />
+ android:layout_height="@dimen/feeditemlist_header_height" />
<ImageView
android:id="@+id/imgvCover"
@@ -78,5 +78,16 @@
tools:text="Podcast author"
tools:background="@android:color/holo_green_dark" />
+ <TextView
+ android:id="@+id/txtvInformation"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/imgvBackground"
+ android:paddingTop="2dp"
+ android:paddingBottom="2dp"
+ android:gravity="center"
+ android:visibility="gone"
+ tools:text="(i) Information"
+ />
</RelativeLayout> \ No newline at end of file
diff --git a/app/src/main/res/menu/feedlist.xml b/app/src/main/res/menu/feedlist.xml
index b6512e828..00785a29b 100644
--- a/app/src/main/res/menu/feedlist.xml
+++ b/app/src/main/res/menu/feedlist.xml
@@ -3,6 +3,13 @@
xmlns:custom="http://schemas.android.com/apk/res-auto">
<item
+ android:id="@+id/hide_items"
+ android:icon="?attr/ic_filter"
+ android:menuCategory="container"
+ android:title="@string/hide_episodes_title"
+ custom:showAsAction="always">
+ </item>
+ <item
android:id="@+id/refresh_item"
android:icon="?attr/navigation_refresh"
android:menuCategory="container"