summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorByteHamster <info@bytehamster.com>2019-11-05 15:28:29 +0100
committerByteHamster <info@bytehamster.com>2019-11-05 15:28:32 +0100
commit8aff9709c379664625eb5c0b4e672115fb9385d4 (patch)
tree010f03db6a312115124660d936a038d6f738d6e4 /app/src/main/res/layout
parent363c3614f8ff80a1c48d0a59735656dde76b2da9 (diff)
downloadAntennaPod-8aff9709c379664625eb5c0b4e672115fb9385d4.zip
Style OnlineFeedViewActivity like a dialog
User study showed that new users do not get the difference between the actual feed list and the preview. If the preview is a dialog, this is a lot easier to see. Additionally, the "dialog" now closes after the subscription succeeded.
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/onlinefeedview_activity.xml33
1 files changed, 33 insertions, 0 deletions
diff --git a/app/src/main/res/layout/onlinefeedview_activity.xml b/app/src/main/res/layout/onlinefeedview_activity.xml
new file mode 100644
index 000000000..b55993fcf
--- /dev/null
+++ b/app/src/main/res/layout/onlinefeedview_activity.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <androidx.cardview.widget.CardView
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ app:cardCornerRadius="4dp"
+ android:layout_margin="16dp"
+ android:elevation="16dp">
+
+ <FrameLayout
+ android:orientation="vertical"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <ProgressBar
+ style="?android:attr/progressBarStyle"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:id="@+id/progressBar"
+ android:layout_gravity="center"/>
+ <ListView
+ android:id="@+id/listview"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"/>
+
+ </FrameLayout>
+ </androidx.cardview.widget.CardView>
+</LinearLayout> \ No newline at end of file