AntennaPod/res/layout/feedlist_item_grid.xml
2012-08-11 17:34:17 +02:00

71 lines
2.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
<ImageView
android:id="@+id/imgvFeedimage"
android:layout_width="200dip"
android:layout_height="200dip"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_margin="8dp"
android:cropToPadding="true" />
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_alignLeft="@id/imgvFeedimage"
android:layout_alignRight="@id/imgvFeedimage"
android:layout_below="@id/imgvFeedimage"
android:orientation="vertical" >
<TextView
android:id="@+id/txtvFeedname"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:gravity="center_horizontal"
android:maxLines="2"
android:textStyle="bold" />
<TextView
android:id="@+id/txtvLastUpdate"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:textColor="@color/gray"
android:textStyle="italic" />
<TextView
android:id="@+id/txtvNumEpisodes"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:gravity="center_horizontal"
android:textColor="@color/gray" />
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="25dp"
android:layout_alignRight="@id/imgvFeedimage"
android:layout_alignTop="@id/imgvFeedimage" >
<TextView
android:id="@+id/txtvNewEps"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/badge"
android:gravity="center"
android:maxLines="1"
android:textColor="@color/white"
android:textStyle="bold"
android:visibility="gone" />
</LinearLayout>
</RelativeLayout>