summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorByteHamster <info@bytehamster.com>2022-12-03 12:33:59 +0100
committerByteHamster <info@bytehamster.com>2022-12-03 12:42:49 +0100
commit655e3c6e4e424bebaf77b903cae60ffaea5d1416 (patch)
tree5fb070d99745986b41d7190a3881439a49874966 /app/src/main/res/layout
parentbc3b7179112e986958bbb4773419ec94eb3aa67f (diff)
downloadAntennaPod-655e3c6e4e424bebaf77b903cae60ffaea5d1416.zip
Hide progress bar when there is no progress
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/horizontal_itemlist_item.xml10
1 files changed, 9 insertions, 1 deletions
diff --git a/app/src/main/res/layout/horizontal_itemlist_item.xml b/app/src/main/res/layout/horizontal_itemlist_item.xml
index b69a3f445..bb45d0ca1 100644
--- a/app/src/main/res/layout/horizontal_itemlist_item.xml
+++ b/app/src/main/res/layout/horizontal_itemlist_item.xml
@@ -93,6 +93,12 @@
</androidx.cardview.widget.CardView>
+ <View
+ android:id="@+id/progressBarReplacementSpacer"
+ android:layout_width="match_parent"
+ android:layout_height="4dp"
+ android:visibility="gone" />
+
<TextView
android:id="@+id/titleLabel"
android:layout_width="128dp"
@@ -103,7 +109,8 @@
android:paddingHorizontal="4dp"
android:singleLine="false"
android:textColor="?android:attr/textColorPrimary"
- android:textSize="14sp" />
+ android:textSize="14sp"
+ tools:text="@sample/episodes.json/data/title" />
<TextView
android:id="@+id/dateLabel"
@@ -114,6 +121,7 @@
android:singleLine="true"
android:textAlignment="textStart"
android:textSize="14sp"
+ tools:text="@sample/episodes.json/data/published_at"
style="@style/AntennaPod.TextView.ListItemSecondaryTitle" />
</LinearLayout>