summaryrefslogtreecommitdiff
path: root/res/layout
diff options
context:
space:
mode:
authordaniel oeh <daniel.oeh@gmail.com>2013-02-28 21:10:26 +0100
committerdaniel oeh <daniel.oeh@gmail.com>2013-02-28 21:10:26 +0100
commitfaa23de4de8ee1bfe3addf0cd7a2c92935a940bf (patch)
treec94113ac5d26819e63b13591c5f8422d41867e6f /res/layout
parent8bab080a5a3140741bcbd2d7d5504875bce2d9f6 (diff)
downloadAntennaPod-faa23de4de8ee1bfe3addf0cd7a2c92935a940bf.zip
Added default getView() implementation for itemlistadapter
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/default_feeditemlist_item.xml46
1 files changed, 46 insertions, 0 deletions
diff --git a/res/layout/default_feeditemlist_item.xml b/res/layout/default_feeditemlist_item.xml
new file mode 100644
index 000000000..28386a264
--- /dev/null
+++ b/res/layout/default_feeditemlist_item.xml
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="0dip"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:paddingLeft="4dp" >
+
+ <TextView
+ android:id="@+id/txtvItemname"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="4dp"
+ android:layout_marginRight="4dp"
+ android:layout_marginTop="4dp"
+ android:ellipsize="end"
+ android:maxLines="2"
+ android:textColor="?android:attr/textColorPrimary"
+ android:textSize="@dimen/text_size_medium" />
+
+ <TextView
+ android:id="@+id/txtvPublished"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/txtvItemname"
+ android:layout_marginBottom="4dp"
+ android:textColor="?android:attr/textColorTertiary"
+ android:textSize="@dimen/text_size_micro" />
+
+ <ImageView
+ android:id="@+id/imgvType"
+ android:layout_width="@dimen/enc_icons_size"
+ android:layout_height="@dimen/enc_icons_size"
+ android:layout_below="@id/txtvPublished"
+ android:padding="2dp" />
+
+ <TextView
+ android:id="@+id/txtvLenSize"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:layout_below="@id/txtvPublished"
+ android:maxLines="2"
+ android:textColor="?android:attr/textColorTertiary"
+ android:textSize="@dimen/text_size_micro" />
+
+</RelativeLayout> \ No newline at end of file