summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/subscription_item.xml
blob: b468d44e9939fc4ab887f5b5b6638f6db8a12e12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?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="match_parent"
        android:ellipsize="end"
        style="@style/AntennaPod.TextView.Heading"
        android:textStyle="bold"
        android:gravity="center_horizontal|bottom"
        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>