summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/subscription_item.xml
diff options
context:
space:
mode:
authorTom Hennen <TomHennen@users.noreply.github.com>2016-03-27 17:38:50 -0400
committerTom Hennen <TomHennen@users.noreply.github.com>2016-03-27 17:38:50 -0400
commit365c1082b31942a033f9e7eb081c933371f8e187 (patch)
tree8d5dcd698518fb06c9d026cb18a97707e23047b3 /app/src/main/res/layout/subscription_item.xml
parentbbf1c43294a927f01cd262e7d109c66f86114a0e (diff)
parentea02b3df7f4694e2301da6bfd3bcce6c7f91c169 (diff)
downloadAntennaPod-365c1082b31942a033f9e7eb081c933371f8e187.zip
Merge pull request #1826 from TomHennen/subscriptions_view
Subscriptions view
Diffstat (limited to 'app/src/main/res/layout/subscription_item.xml')
-rw-r--r--app/src/main/res/layout/subscription_item.xml47
1 files changed, 47 insertions, 0 deletions
diff --git a/app/src/main/res/layout/subscription_item.xml b/app/src/main/res/layout/subscription_item.xml
new file mode 100644
index 000000000..ffbcc33f1
--- /dev/null
+++ b/app/src/main/res/layout/subscription_item.xml
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="utf-8"?>
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="horizontal">
+
+ <de.danoeh.antennapod.view.SquareImageView
+ android:id="@+id/imgvCover"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:layout_centerHorizontal="true"
+ android:layout_centerVertical="true"
+ android:scaleType="centerCrop"
+ tools:src="@drawable/ic_launcher" />
+
+ <TextView
+ android:id="@+id/txtvTitle"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_centerInParent="true"
+ android:layout_margin="@dimen/widget_margin"
+ android:ellipsize="end"
+ android:padding="@dimen/widget_margin"
+ style="@style/AntennaPod.TextView.Heading"
+ android:textSize="15sp"
+ android:textStyle="bold"
+ android:layout_gravity="bottom"
+ android:textColor="@android:color/white"
+ android:background="#55000000"
+ tools:text="@string/app_name" />
+
+ <jp.shts.android.library.TriangleLabelView
+ android:id="@+id/triangleCountView"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_alignParentRight="true"
+ android:layout_alignParentTop="true"
+ app:backgroundColor="#bbbfbfbf"
+ app:corner="rightTop"
+ app:primaryText="Test"
+ app:primaryTextColor="@color/grey600"
+ app:primaryTextSize="12sp"
+ android:layout_gravity="right|top"/>
+
+</FrameLayout>