diff options
author | H. Lehmann <ByteHamster@users.noreply.github.com> | 2020-05-21 19:41:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-21 19:41:07 +0200 |
commit | 6798eaa46936f078c5c85aab3de7fa425248427b (patch) | |
tree | a4bfd36aea375465a0fa5a83250f430cfb02e8a2 /app/src/main/res/layout | |
parent | 8556945427fe58adea47228ac0c4833b113f4b10 (diff) | |
parent | 82188995e58130d2f3d24e963daf5bafffe95101 (diff) | |
download | AntennaPod-6798eaa46936f078c5c85aab3de7fa425248427b.zip |
Merge pull request #4177 from ByteHamster/stop-button-onlinefeedview
Added button to stop previewed episode
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/itemdescription_listitem.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/layout/onlinefeedview_activity.xml | 11 |
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" |