summaryrefslogtreecommitdiff
path: root/res/layout
diff options
context:
space:
mode:
authordaniel oeh <daniel.oeh@gmail.com>2013-02-12 00:02:21 +0100
committerdaniel oeh <daniel.oeh@gmail.com>2013-02-12 00:02:21 +0100
commit5e001760d62f6bcaa85c9174114c494ce9dcd776 (patch)
tree4a877c27bc722e7e15a90bdf500e25927df1ff44 /res/layout
parent66cfd44413d60c7d5c142fc875c244e7e891052d (diff)
downloadAntennaPod-5e001760d62f6bcaa85c9174114c494ce9dcd776.zip
Improved layouts of itemlist items
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/external_itemlist_item.xml4
-rw-r--r--res/layout/feeditemlist_header.xml4
-rw-r--r--res/layout/feeditemlist_item.xml19
3 files changed, 18 insertions, 9 deletions
diff --git a/res/layout/external_itemlist_item.xml b/res/layout/external_itemlist_item.xml
index 9f40fcf87..347a75e24 100644
--- a/res/layout/external_itemlist_item.xml
+++ b/res/layout/external_itemlist_item.xml
@@ -20,8 +20,8 @@
android:clickable="false"
android:focusable="false"
android:focusableInTouchMode="false"
- android:paddingLeft="16dp"
- android:paddingRight="16dp"
+ android:paddingLeft="24dp"
+ android:paddingRight="8dp"
android:paddingTop="16dp"
android:scaleType="fitEnd"
android:src="?attr/spinner_button" />
diff --git a/res/layout/feeditemlist_header.xml b/res/layout/feeditemlist_header.xml
index 581ed76ea..f6ee9afe4 100644
--- a/res/layout/feeditemlist_header.xml
+++ b/res/layout/feeditemlist_header.xml
@@ -28,8 +28,8 @@
android:clickable="false"
android:focusable="false"
android:focusableInTouchMode="false"
- android:paddingLeft="16dp"
- android:paddingRight="16dp"
+ android:paddingLeft="24dp"
+ android:paddingRight="8dp"
android:paddingTop="16dp"
android:scaleType="fitEnd"
android:src="?attr/spinner_button" />
diff --git a/res/layout/feeditemlist_item.xml b/res/layout/feeditemlist_item.xml
index 7918c1361..1b9ebaaab 100644
--- a/res/layout/feeditemlist_item.xml
+++ b/res/layout/feeditemlist_item.xml
@@ -22,7 +22,11 @@
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="4dp"
+ android:layout_marginTop="4dp"
+ android:maxLines="2"
+ android:ellipsize="end"
android:layout_toLeftOf="@+id/butAction"
+ android:textColor="?android:attr/textColorPrimary"
android:textSize="@dimen/text_size_medium" />
<TextView
@@ -32,6 +36,8 @@
android:layout_below="@id/txtvItemname"
android:layout_marginBottom="4dp"
android:layout_toLeftOf="@id/butAction"
+ android:textColor="?android:attr/textColorSecondary"
+ android:textSize="@dimen/text_size_micro"
android:visibility="gone" />
<TextView
@@ -41,7 +47,8 @@
android:layout_below="@id/txtvFeedname"
android:layout_marginBottom="4dp"
android:layout_toLeftOf="@id/butAction"
- android:textColor="?android:attr/textColorSecondary" />
+ android:textColor="?android:attr/textColorTertiary"
+ android:textSize="@dimen/text_size_micro" />
<ImageView
android:id="@+id/imgvType"
@@ -83,20 +90,22 @@
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_below="@id/txtvPublished"
- android:maxLines="2" />
+ android:maxLines="2"
+ android:textColor="?android:attr/textColorTertiary"
+ android:textSize="@dimen/text_size_micro" />
<ImageButton
android:id="@id/butAction"
android:layout_width="48dp"
android:layout_height="match_parent"
- android:layout_alignParentRight="true"
android:layout_alignParentBottom="true"
+ android:layout_alignParentRight="true"
android:background="?attr/borderless_button"
android:clickable="false"
android:focusable="false"
android:focusableInTouchMode="false"
- android:paddingLeft="16dp"
- android:paddingRight="16dp"
+ android:paddingLeft="24dp"
+ android:paddingRight="8dp"
android:paddingTop="16dp"
android:scaleType="fitEnd"
android:src="?attr/spinner_button" />