summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/subscription_item.xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layout/subscription_item.xml')
-rw-r--r--app/src/main/res/layout/subscription_item.xml40
1 files changed, 40 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..19b9943e4
--- /dev/null
+++ b/app/src/main/res/layout/subscription_item.xml
@@ -0,0 +1,40 @@
+<?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" />
+
+ <com.joanzapata.iconify.widget.IconTextView
+ android:id="@+id/txtvTitle"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:ellipsize="end"
+ android:gravity="center"
+ android:background="@color/light_gray"
+ 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="@color/antennapod_blue"
+ app:corner="rightTop"
+ app:primaryText="Test"
+ app:primaryTextColor="@color/white"
+ app:primaryTextSize="12sp"
+ android:layout_gravity="right|top"/>
+
+</FrameLayout>