AntennaPod/res/layout/feedlist_item.xml

59 lines
2.0 KiB
XML
Raw Normal View History

2011-12-23 19:22:06 +01:00
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
2012-06-22 17:27:21 +02:00
android:layout_height="match_parent"
android:paddingBottom="4dp"
2012-08-15 16:37:38 +02:00
android:paddingRight="16dp"
android:paddingTop="4dp" >
2011-12-23 19:22:06 +01:00
2012-06-14 14:13:54 +02:00
<ImageView
android:id="@+id/imgvFeedimage"
2012-06-22 17:27:21 +02:00
android:layout_width="55dip"
android:layout_height="55dip"
2012-06-14 14:13:54 +02:00
android:layout_alignParentLeft="true"
2012-08-15 16:37:38 +02:00
android:layout_centerVertical="true"
2012-06-22 17:27:21 +02:00
android:layout_marginLeft="1dip"
android:layout_marginRight="4dip"
android:adjustViewBounds="true"
android:cropToPadding="true"
android:scaleType="fitXY"
android:src="@drawable/default_cover" />
2012-06-14 14:13:54 +02:00
2012-08-15 16:37:38 +02:00
<TextView
android:id="@+id/txtvNewEps"
2012-06-14 14:13:54 +02:00
android:layout_width="wrap_content"
2012-06-22 17:27:21 +02:00
android:layout_height="match_parent"
2012-08-15 16:37:38 +02:00
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:textSize="20dp"
android:textStyle="bold" />
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_toLeftOf="@id/txtvNewEps"
2012-06-22 17:27:21 +02:00
android:layout_toRightOf="@id/imgvFeedimage"
android:orientation="vertical" >
2012-06-14 14:13:54 +02:00
<TextView
android:id="@+id/txtvFeedname"
2012-06-22 17:27:21 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2012-08-15 16:37:38 +02:00
android:maxLines="2"
2012-06-22 17:27:21 +02:00
android:textStyle="bold" />
2012-06-14 14:13:54 +02:00
<TextView
2012-06-22 17:27:21 +02:00
android:id="@+id/txtvNumEpisodes"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2012-06-22 17:27:21 +02:00
android:textColor="@color/gray" />
2012-06-14 14:13:54 +02:00
<TextView
android:id="@+id/txtvLastUpdate"
2012-06-22 17:27:21 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2012-08-15 16:37:38 +02:00
android:textColor="@color/gray"
android:textStyle="italic" />
2012-06-14 14:13:54 +02:00
</LinearLayout>
</RelativeLayout>