From 50cf38431dda76e821b41fa02f07fb4c1a4d22e8 Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Fri, 19 May 2017 12:53:09 +0200 Subject: Improved list items when using a large font size --- .../res/layout/downloaded_episodeslist_item.xml | 85 ++++++++++++---------- app/src/main/res/layout/downloadlist_item.xml | 4 +- app/src/main/res/layout/downloadlog_item.xml | 4 +- app/src/main/res/layout/feeditemlist_item.xml | 8 +- .../main/res/layout/mediaplayerinfo_activity.xml | 1 + app/src/main/res/layout/new_episodes_listitem.xml | 7 +- app/src/main/res/layout/queue_listitem.xml | 2 +- app/src/main/res/layout/searchlist_item.xml | 8 +- app/src/main/res/layout/simplechapter_item.xml | 2 +- 9 files changed, 64 insertions(+), 57 deletions(-) (limited to 'app') diff --git a/app/src/main/res/layout/downloaded_episodeslist_item.xml b/app/src/main/res/layout/downloaded_episodeslist_item.xml index 760b6b9db..8ca85a93f 100644 --- a/app/src/main/res/layout/downloaded_episodeslist_item.xml +++ b/app/src/main/res/layout/downloaded_episodeslist_item.xml @@ -3,7 +3,7 @@ @@ -18,64 +18,69 @@ android:contentDescription="@string/cover_label" android:scaleType="centerCrop" tools:src="@drawable/ic_stat_antenna_default" - tools:background="@android:color/holo_green_dark" /> + tools:background="@android:color/holo_green_dark"/> + - + tools:background="@android:color/holo_green_dark"/> - + android:layout_marginTop="@dimen/listitem_threeline_verticalpadding" + tools:background="@android:color/holo_red_dark" > - + + + + + - + - + + diff --git a/app/src/main/res/layout/downloadlist_item.xml b/app/src/main/res/layout/downloadlist_item.xml index e7694502b..97f3ac1a1 100644 --- a/app/src/main/res/layout/downloadlist_item.xml +++ b/app/src/main/res/layout/downloadlist_item.xml @@ -2,13 +2,13 @@ diff --git a/app/src/main/res/layout/downloadlog_item.xml b/app/src/main/res/layout/downloadlog_item.xml index 7b4773bca..27b179f4e 100644 --- a/app/src/main/res/layout/downloadlog_item.xml +++ b/app/src/main/res/layout/downloadlog_item.xml @@ -12,8 +12,8 @@ + tools:background="@android:color/darker_gray" + android:paddingTop="@dimen/listitem_threeline_verticalpadding" + android:paddingBottom="@dimen/listitem_threeline_verticalpadding"> diff --git a/app/src/main/res/layout/mediaplayerinfo_activity.xml b/app/src/main/res/layout/mediaplayerinfo_activity.xml index 0f68b503e..64738eb45 100644 --- a/app/src/main/res/layout/mediaplayerinfo_activity.xml +++ b/app/src/main/res/layout/mediaplayerinfo_activity.xml @@ -152,6 +152,7 @@ android:src="?attr/av_fast_forward" android:textSize="@dimen/text_size_medium" android:textAllCaps="false" + android:maxLines="1" tools:visibility="gone" tools:background="@android:color/holo_green_dark" /> diff --git a/app/src/main/res/layout/new_episodes_listitem.xml b/app/src/main/res/layout/new_episodes_listitem.xml index 944711aec..357d05c38 100644 --- a/app/src/main/res/layout/new_episodes_listitem.xml +++ b/app/src/main/res/layout/new_episodes_listitem.xml @@ -10,10 +10,11 @@ + tools:background="@android:color/darker_gray" + android:gravity="center_vertical"> + android:layout_height="wrap_content" + tools:background="@android:color/darker_gray" + android:paddingTop="@dimen/listitem_threeline_verticalpadding" + android:paddingBottom="@dimen/listitem_threeline_verticalpadding"> diff --git a/app/src/main/res/layout/simplechapter_item.xml b/app/src/main/res/layout/simplechapter_item.xml index 21bbc9545..28cdb08c3 100644 --- a/app/src/main/res/layout/simplechapter_item.xml +++ b/app/src/main/res/layout/simplechapter_item.xml @@ -2,7 +2,7 @@ -- cgit v1.2.3 From 5f65708e95038c7064bc1222e300b59846e64351 Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Fri, 19 May 2017 13:36:44 +0200 Subject: Fixed action height --- app/src/main/res/layout/feeditemlist_item.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app') diff --git a/app/src/main/res/layout/feeditemlist_item.xml b/app/src/main/res/layout/feeditemlist_item.xml index 926ce1a07..57d1e4d75 100644 --- a/app/src/main/res/layout/feeditemlist_item.xml +++ b/app/src/main/res/layout/feeditemlist_item.xml @@ -7,15 +7,15 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" - tools:background="@android:color/darker_gray" - android:paddingTop="@dimen/listitem_threeline_verticalpadding" - android:paddingBottom="@dimen/listitem_threeline_verticalpadding"> + tools:background="@android:color/darker_gray"> Date: Fri, 19 May 2017 19:51:15 +0200 Subject: Changed visibility from gone to invisible --- .../java/de/danoeh/antennapod/adapter/AllEpisodesRecycleAdapter.java | 4 ++-- .../main/java/de/danoeh/antennapod/adapter/FeedItemlistAdapter.java | 4 ++-- .../main/java/de/danoeh/antennapod/adapter/QueueRecyclerAdapter.java | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'app') diff --git a/app/src/main/java/de/danoeh/antennapod/adapter/AllEpisodesRecycleAdapter.java b/app/src/main/java/de/danoeh/antennapod/adapter/AllEpisodesRecycleAdapter.java index 3e8bbc488..f12c8285a 100644 --- a/app/src/main/java/de/danoeh/antennapod/adapter/AllEpisodesRecycleAdapter.java +++ b/app/src/main/java/de/danoeh/antennapod/adapter/AllEpisodesRecycleAdapter.java @@ -174,7 +174,7 @@ public class AllEpisodesRecycleAdapter extends RecyclerView.Adapter Date: Sun, 4 Jun 2017 15:35:03 +0200 Subject: Changed spacing to look more like before --- app/src/main/res/layout/downloaded_episodeslist_item.xml | 4 +--- app/src/main/res/layout/feeditemlist_item.xml | 5 ++--- app/src/main/res/layout/new_episodes_listitem.xml | 2 +- app/src/main/res/layout/queue_listitem.xml | 3 +-- app/src/main/res/layout/searchlist_item.xml | 1 - 5 files changed, 5 insertions(+), 10 deletions(-) (limited to 'app') diff --git a/app/src/main/res/layout/downloaded_episodeslist_item.xml b/app/src/main/res/layout/downloaded_episodeslist_item.xml index 8ca85a93f..770b88c7e 100644 --- a/app/src/main/res/layout/downloaded_episodeslist_item.xml +++ b/app/src/main/res/layout/downloaded_episodeslist_item.xml @@ -1,5 +1,4 @@ - @@ -101,8 +101,7 @@ tools:background="@android:color/holo_blue_light" android:max="100" android:progress="42" - android:indeterminate="false" - /> + android:indeterminate="false" /> diff --git a/app/src/main/res/layout/new_episodes_listitem.xml b/app/src/main/res/layout/new_episodes_listitem.xml index 357d05c38..b069d90ba 100644 --- a/app/src/main/res/layout/new_episodes_listitem.xml +++ b/app/src/main/res/layout/new_episodes_listitem.xml @@ -123,7 +123,7 @@ android:id="@+id/pbar_progress" style="?android:attr/progressBarStyleHorizontal" android:layout_width="match_parent" - android:layout_height="wrap_content" + android:layout_height="4dp" android:layout_below="@id/txtvDuration" android:layout_marginTop="-2dp" android:max="100" /> diff --git a/app/src/main/res/layout/queue_listitem.xml b/app/src/main/res/layout/queue_listitem.xml index 0642861c5..d519e044e 100644 --- a/app/src/main/res/layout/queue_listitem.xml +++ b/app/src/main/res/layout/queue_listitem.xml @@ -124,9 +124,8 @@ android:id="@+id/progressBar" style="?android:attr/progressBarStyleHorizontal" android:layout_width="match_parent" - android:layout_height="wrap_content" + android:layout_height="4dp" android:layout_below="@id/txtvProgressLeft" - android:layout_marginTop="-2dp" android:max="100" tools:background="@android:color/holo_blue_light" /> diff --git a/app/src/main/res/layout/searchlist_item.xml b/app/src/main/res/layout/searchlist_item.xml index cc235a92a..83ba39cd5 100644 --- a/app/src/main/res/layout/searchlist_item.xml +++ b/app/src/main/res/layout/searchlist_item.xml @@ -13,7 +13,6 @@ android:layout_height="@dimen/thumbnail_length_itemlist" android:layout_alignParentLeft="true" android:layout_centerVertical="true" - android:layout_marginBottom="@dimen/listitem_threeline_verticalpadding" android:layout_marginLeft="@dimen/listitem_threeline_horizontalpadding" android:contentDescription="@string/cover_label" android:scaleType="centerCrop" -- cgit v1.2.3 From 529d6502acf3c4c2adf86658e71579293b2cdd82 Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Sun, 13 Aug 2017 19:43:35 +0200 Subject: Fixed height on 4.4 --- app/src/main/res/layout/new_episodes_listitem.xml | 3 +-- app/src/main/res/layout/queue_listitem.xml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'app') diff --git a/app/src/main/res/layout/new_episodes_listitem.xml b/app/src/main/res/layout/new_episodes_listitem.xml index b069d90ba..d533ee642 100644 --- a/app/src/main/res/layout/new_episodes_listitem.xml +++ b/app/src/main/res/layout/new_episodes_listitem.xml @@ -121,11 +121,10 @@ diff --git a/app/src/main/res/layout/queue_listitem.xml b/app/src/main/res/layout/queue_listitem.xml index d519e044e..7d18b386d 100644 --- a/app/src/main/res/layout/queue_listitem.xml +++ b/app/src/main/res/layout/queue_listitem.xml @@ -122,7 +122,7 @@