diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2014-05-17 13:22:15 +0200 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2014-05-17 13:22:15 +0200 |
commit | 640b36912abe3b27cb8188e7d6c3b4acafe27d6a (patch) | |
tree | 67d7ed5cb9a7588ab0f85d1047d5ad2d7e50d685 /res/layout | |
parent | bb9683b86a29cece5bec4f7af357290ada70548b (diff) | |
download | AntennaPod-640b36912abe3b27cb8188e7d6c3b4acafe27d6a.zip |
Improved spacing in FeedItemlist and Downloads list
- Removed InternalFeedItemlistAdapter
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/downloadlist_item.xml | 22 | ||||
-rw-r--r-- | res/layout/feeditemlist_item.xml | 8 | ||||
-rw-r--r-- | res/layout/new_episodes_listitem.xml | 5 |
3 files changed, 22 insertions, 13 deletions
diff --git a/res/layout/downloadlist_item.xml b/res/layout/downloadlist_item.xml index a0a589175..44af1ade0 100644 --- a/res/layout/downloadlist_item.xml +++ b/res/layout/downloadlist_item.xml @@ -16,20 +16,28 @@ android:layout_height="wrap_content" android:layout_marginLeft="8dp" android:layout_marginTop="8dp" - android:textStyle="bold"/> + android:textSize="@dimen/text_size_small" + android:lines="1" + android:ellipsize="end" + android:textColor="?android:attr/textColorPrimary"/> <TextView android:id="@+id/txtvMessage" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_margin="8dp"/> + android:layout_margin="8dp" + android:textColor="?android:attr/textColorSecondary" + android:textSize="@dimen/text_size_micro" + android:lines="1" + android:ellipsize="end"/> <ProgressBar android:id="@+id/progProgress" style="?android:attr/progressBarStyleHorizontal" android:layout_width="match_parent" android:layout_height="16dp" - android:layout_margin="8dp"/> + android:layout_marginLeft="8dp" + android:layout_marginRight="8dp"/> <RelativeLayout android:layout_width="match_parent" @@ -40,12 +48,20 @@ android:id="@+id/txtvDownloaded" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:textSize="@dimen/text_size_small" + android:lines="1" + android:ellipsize="end" + android:textColor="?android:attr/textColorPrimary" android:layout_alignParentLeft="true"/> <TextView android:id="@+id/txtvPercent" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:textSize="@dimen/text_size_small" + android:lines="1" + android:ellipsize="end" + android:textColor="?android:attr/textColorPrimary" android:layout_alignParentRight="true"/> </RelativeLayout> diff --git a/res/layout/feeditemlist_item.xml b/res/layout/feeditemlist_item.xml index ed85d9021..147157c5a 100644 --- a/res/layout/feeditemlist_item.xml +++ b/res/layout/feeditemlist_item.xml @@ -27,13 +27,9 @@ android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_below="@id/txtvPublished" - android:layout_marginBottom="4dp" + android:layout_marginBottom="8dp" android:layout_marginRight="4dp" - android:layout_marginTop="4dp" - android:ellipsize="end" - android:lines="2" - android:textColor="?android:attr/textColorPrimary" - android:textSize="@dimen/text_size_medium"/> + style="@style/AntennaPod.TextView.ListItemPrimaryTitle"/> <ImageView diff --git a/res/layout/new_episodes_listitem.xml b/res/layout/new_episodes_listitem.xml index 481a225ae..955d4d046 100644 --- a/res/layout/new_episodes_listitem.xml +++ b/res/layout/new_episodes_listitem.xml @@ -43,10 +43,7 @@ android:layout_marginTop="2dp" android:layout_toRightOf="@id/imgvImage" android:layout_alignParentRight="true" - android:ellipsize="end" - android:lines="2" - android:textColor="?android:attr/textColorPrimary" - android:textSize="@dimen/text_size_small"/> + style="@style/AntennaPod.TextView.ListItemPrimaryTitle"/> <LinearLayout android:layout_width="0dp" |