From 83bb0a608440c21ce61af68df0a8be0c387f1c0c Mon Sep 17 00:00:00 2001 From: daniel oeh Date: Sat, 28 Sep 2013 12:25:52 +0200 Subject: Improved layout of chaperlist --- res/layout/simplechapter_item.xml | 12 ++++++++---- src/de/danoeh/antennapod/adapter/ChapterListAdapter.java | 3 +++ 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/res/layout/simplechapter_item.xml b/res/layout/simplechapter_item.xml index 99ba0b0a9..422458d5d 100644 --- a/res/layout/simplechapter_item.xml +++ b/res/layout/simplechapter_item.xml @@ -2,7 +2,8 @@ + android:paddingBottom="12dp" + android:paddingTop="12dp"> + android:textColor="?android:attr/textColorSecondary" + android:textSize="@dimen/text_size_small"/> + android:textColor="?android:attr/textColorPrimary" + android:textSize="@dimen/text_size_small"/> \ No newline at end of file diff --git a/src/de/danoeh/antennapod/adapter/ChapterListAdapter.java b/src/de/danoeh/antennapod/adapter/ChapterListAdapter.java index 5a8dfb2bf..116c39ddf 100644 --- a/src/de/danoeh/antennapod/adapter/ChapterListAdapter.java +++ b/src/de/danoeh/antennapod/adapter/ChapterListAdapter.java @@ -128,8 +128,11 @@ public class ChapterListAdapter extends ArrayAdapter { if (current == sc) { holder.title.setTextColor(convertView.getResources().getColor( R.color.bright_blue)); + holder.start.setTextColor(convertView.getResources().getColor( + R.color.bright_blue)); } else { holder.title.setTextColor(defaultTextColor); + holder.start.setTextColor(defaultTextColor); } } else { Log.w(TAG, "Could not find out what the current chapter is."); -- cgit v1.2.3