summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorByteHamster <info@bytehamster.com>2020-05-20 17:24:59 +0200
committerByteHamster <info@bytehamster.com>2020-05-21 18:32:56 +0200
commit82188995e58130d2f3d24e963daf5bafffe95101 (patch)
treeb62d12972fd83894a1a19a89a1edb201947c9775 /app/src/main/res/layout
parent44f35cb1f19443634cc921a1addc6f500a9a3850 (diff)
downloadAntennaPod-82188995e58130d2f3d24e963daf5bafffe95101.zip
Added button to stop previewed episode
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/itemdescription_listitem.xml2
-rw-r--r--app/src/main/res/layout/onlinefeedview_activity.xml11
2 files changed, 12 insertions, 1 deletions
diff --git a/app/src/main/res/layout/itemdescription_listitem.xml b/app/src/main/res/layout/itemdescription_listitem.xml
index 15c23c915..6ed856796 100644
--- a/app/src/main/res/layout/itemdescription_listitem.xml
+++ b/app/src/main/res/layout/itemdescription_listitem.xml
@@ -63,7 +63,7 @@
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:layout_alignParentLeft="true"
- style="?android:attr/buttonBarButtonStyle"
+ style="@style/Widget.MaterialComponents.Button.TextButton"
android:text="@string/preview_episode"/>
</RelativeLayout>
diff --git a/app/src/main/res/layout/onlinefeedview_activity.xml b/app/src/main/res/layout/onlinefeedview_activity.xml
index cddb1048c..812933fb1 100644
--- a/app/src/main/res/layout/onlinefeedview_activity.xml
+++ b/app/src/main/res/layout/onlinefeedview_activity.xml
@@ -124,6 +124,17 @@
android:focusable="false"
android:text="@string/subscribe_label"/>
+ <Button
+ android:id="@+id/butStopPreview"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="16dp"
+ android:layout_marginRight="16dp"
+ android:layout_marginBottom="16dp"
+ android:focusable="false"
+ android:text="@string/stop_preview"
+ android:visibility="gone" />
+
<ListView
android:id="@+id/listview"
android:layout_width="match_parent"