AntennaPod/res/layout/feedlist_item.xml
2012-10-01 12:53:44 +02:00

57 lines
1.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="4dp"
android:paddingRight="16dp"
android:paddingTop="4dp" >
<ImageView
android:id="@+id/imgvFeedimage"
android:layout_width="@dimen/thumbnail_length"
android:layout_height="@dimen/thumbnail_length"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:layout_marginLeft="1dip"
android:layout_marginRight="4dip"
android:adjustViewBounds="true"
android:cropToPadding="true"
android:scaleType="fitXY" />
<TextView
android:id="@+id/txtvNewEps"
android:layout_width="wrap_content"
android:layout_height="match_parent"
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"
android:layout_toRightOf="@id/imgvFeedimage"
android:orientation="vertical" >
<TextView
android:id="@+id/txtvFeedname"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:maxLines="2"
android:textStyle="bold" />
<TextView
android:id="@+id/txtvNumEpisodes"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="@color/gray" />
<TextView
android:id="@+id/txtvLastUpdate"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="@color/gray" />
</LinearLayout>
</RelativeLayout>