diff options
Diffstat (limited to 'app/src/main/res/layout/nav_section_item.xml')
-rw-r--r-- | app/src/main/res/layout/nav_section_item.xml | 37 |
1 files changed, 27 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..8596ad80a 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,32 @@ 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: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> |