From 67e7f4bec9949e9402bb52b45d217ec48035d6ad Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Sat, 11 Apr 2020 23:14:08 +0200 Subject: [PATCH] Reduce font size of new count --- .../antennapod/adapter/NavListAdapter.java | 2 +- app/src/main/res/layout/nav_feedlistitem.xml | 83 ------------------- app/src/main/res/layout/nav_listitem.xml | 21 ++++- 3 files changed, 20 insertions(+), 86 deletions(-) delete mode 100644 app/src/main/res/layout/nav_feedlistitem.xml diff --git a/app/src/main/java/de/danoeh/antennapod/adapter/NavListAdapter.java b/app/src/main/java/de/danoeh/antennapod/adapter/NavListAdapter.java index 6a16949cc0..f491a8b295 100644 --- a/app/src/main/java/de/danoeh/antennapod/adapter/NavListAdapter.java +++ b/app/src/main/java/de/danoeh/antennapod/adapter/NavListAdapter.java @@ -317,7 +317,7 @@ private View getFeedView(int position, View convertView, ViewGroup parent) { LayoutInflater inflater = (LayoutInflater) context .getSystemService(Context.LAYOUT_INFLATER_SERVICE); - convertView = inflater.inflate(R.layout.nav_feedlistitem, parent, false); + convertView = inflater.inflate(R.layout.nav_listitem, parent, false); holder.image = convertView.findViewById(R.id.imgvCover); holder.title = convertView.findViewById(R.id.txtvTitle); diff --git a/app/src/main/res/layout/nav_feedlistitem.xml b/app/src/main/res/layout/nav_feedlistitem.xml deleted file mode 100644 index 52833b3cd0..0000000000 --- a/app/src/main/res/layout/nav_feedlistitem.xml +++ /dev/null @@ -1,83 +0,0 @@ - - - - - - - - - - - - - diff --git a/app/src/main/res/layout/nav_listitem.xml b/app/src/main/res/layout/nav_listitem.xml index 87f07793ce..f03ebc09f0 100644 --- a/app/src/main/res/layout/nav_listitem.xml +++ b/app/src/main/res/layout/nav_listitem.xml @@ -18,7 +18,6 @@ android:adjustViewBounds="true" android:cropToPadding="true" android:scaleType="centerInside" - android:padding="4dp" android:layout_marginLeft="@dimen/listitem_icon_leftpadding" android:layout_marginStart="@dimen/listitem_icon_leftpadding" android:layout_marginTop="4dp" @@ -44,13 +43,31 @@ android:layout_toEndOf="@id/imgvCover" tools:text="Navigation item title" /> + +