summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/subscription_item.xml
blob: 8f0539dfad132ddbf7df8ae4f7841427b54c2489 (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
<?xml version='1.0' encoding='utf-8'?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    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:scaleType="centerCrop"
        tools:src="@drawable/ic_launcher">
    </de.danoeh.antennapod.view.SquareImageView>

    <com.joanzapata.iconify.widget.IconTextView
        android:id="@+id/txtvTitle"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@color/light_gray"
        android:ellipsize="end"
        android:gravity="center"
        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_gravity="right|top"
        app:backgroundColor="@color/antennapod_blue"
        app:corner="rightTop"
        app:primaryText="Test"
        app:primaryTextColor="@color/white"
        app:primaryTextSize="12sp">
    </jp.shts.android.library.TriangleLabelView>
</FrameLayout>