summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/subscription_item.xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layout/subscription_item.xml')
-rw-r--r--app/src/main/res/layout/subscription_item.xml16
1 files changed, 15 insertions, 1 deletions
diff --git a/app/src/main/res/layout/subscription_item.xml b/app/src/main/res/layout/subscription_item.xml
index 0b689fa28..b3271ffa3 100644
--- a/app/src/main/res/layout/subscription_item.xml
+++ b/app/src/main/res/layout/subscription_item.xml
@@ -6,7 +6,8 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:padding="4dp">
+ android:padding="4dp"
+ tools:layout_width="150dp">
<androidx.cardview.widget.CardView
android:id="@+id/outerContainer"
@@ -70,6 +71,18 @@
android:textSize="14sp"
style="@style/TextPill" />
+ <ImageView
+ android:id="@+id/errorIcon"
+ android:layout_width="24dp"
+ android:layout_height="24dp"
+ android:layout_alignParentEnd="true"
+ android:layout_alignBottom="@id/coverImage"
+ android:layout_margin="8dp"
+ android:visibility="gone"
+ android:contentDescription="@string/refresh_failed_msg"
+ app:srcCompat="@drawable/ic_error"
+ tools:visibility="visible" />
+
</RelativeLayout>
</androidx.cardview.widget.CardView>
@@ -82,6 +95,7 @@
android:gravity="start"
android:textColor="?android:attr/textColorPrimary"
android:lines="2"
+ android:importantForAccessibility="no"
tools:text="@sample/episodes.json/data/title" />
</LinearLayout>