summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/subscription_item.xml
blob: d065c5cf15b777436b39f31bec9f480eab159796 (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'?>
<RelativeLayout 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">

    <de.danoeh.antennapod.view.SquareImageView
        android:id="@+id/imgvCover"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:scaleType="centerCrop"
        tools:src="@mipmap/ic_launcher_round" />

    <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:layout_alignLeft="@+id/imgvCover"
        android:layout_alignRight="@+id/imgvCover"
        android:layout_alignStart="@+id/imgvCover"
        android:layout_alignEnd="@+id/imgvCover"
        android:layout_alignTop="@+id/imgvCover"
        android:layout_alignBottom="@+id/imgvCover"
        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_alignParentRight="true"
        android:layout_alignParentEnd="true"
        android:layout_alignParentTop="true"
        app:backgroundColor="@color/antennapod_blue"
        app:corner="rightTop"
        app:primaryText="Test"
        app:primaryTextColor="@color/white"
        app:primaryTextSize="12sp" />
</RelativeLayout>