summaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorcaoilTe O'Connor <1500358+caoilte@users.noreply.github.com>2023-09-16 11:34:30 +0100
committerGitHub <noreply@github.com>2023-09-16 12:34:30 +0200
commit705aae44baf93e63340c8f108e83b82ffe967aa5 (patch)
treefa449bbe8deb673157f01e311065caa8fa8f1756 /app/src/main/res
parent955fca6e38781051df36647640cfd7e473367ac0 (diff)
downloadAntennaPod-705aae44baf93e63340c8f108e83b82ffe967aa5.zip
Remove Iconify from NavListAdapter (#6578)
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/nav_section_item.xml38
1 files changed, 28 insertions, 10 deletions
diff --git a/app/src/main/res/layout/nav_section_item.xml b/app/src/main/res/layout/nav_section_item.xml
index fb3021556..bdb7b28ee 100644
--- a/app/src/main/res/layout/nav_section_item.xml
+++ b/app/src/main/res/layout/nav_section_item.xml
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@android:color/transparent"
- android:orientation="vertical"
android:importantForAccessibility="no"
+ android:orientation="vertical"
android:paddingTop="8dp"
android:paddingBottom="8dp">
@@ -13,16 +14,33 @@
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="?android:attr/listDivider"
- tools:background="@android:color/holo_red_dark"/>
+ tools:background="@android:color/holo_red_dark" />
- <TextView
+ <LinearLayout
android:id="@+id/nav_feeds_filtered_message"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:gravity="start"
- android:paddingStart="@dimen/listitem_icon_leftpadding"
- android:paddingTop="4dp"
- android:paddingEnd="@dimen/listitem_icon_leftpadding"
- android:textColor="?android:attr/textColorSecondary"
- android:textSize="@dimen/text_size_small" />
+ android:importantForAccessibility="no"
+ android:orientation="horizontal">
+
+ <ImageView
+ android:layout_width="20dp"
+ android:layout_height="20dp"
+ android:layout_marginStart="16dp"
+ android:layout_marginTop="4dp"
+ android:src="@drawable/ic_info" />
+
+ <TextView
+ android:id="@+id/nav_feeds_filtered_message_text"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginStart="4dp"
+ android:gravity="start"
+ android:paddingTop="4dp"
+ android:text="@string/subscriptions_are_filtered"
+ android:textColor="?android:attr/textColorSecondary"
+ android:textSize="@dimen/text_size_small" />
+
+ </LinearLayout>
+
</LinearLayout>