summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorByteHamster <info@bytehamster.com>2019-11-07 20:16:49 +0100
committerByteHamster <info@bytehamster.com>2019-11-07 20:16:49 +0100
commit04e676408528eb17d74f3191d5c95c84459fc519 (patch)
tree090d71a1cc4a2368c5defa619472f3c290619d20 /app/src/main/res/layout
parent43be061a644440a7210ea92f3268a0bc604047d3 (diff)
downloadAntennaPod-04e676408528eb17d74f3191d5c95c84459fc519.zip
Made add podcast button even more prominent
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/onlinefeedview_activity.xml38
-rw-r--r--app/src/main/res/layout/onlinefeedview_header.xml21
2 files changed, 34 insertions, 25 deletions
diff --git a/app/src/main/res/layout/onlinefeedview_activity.xml b/app/src/main/res/layout/onlinefeedview_activity.xml
index b55993fcf..4ed8a0341 100644
--- a/app/src/main/res/layout/onlinefeedview_activity.xml
+++ b/app/src/main/res/layout/onlinefeedview_activity.xml
@@ -9,7 +9,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
app:cardCornerRadius="4dp"
- android:layout_margin="16dp"
+ android:layout_margin="32dp"
android:elevation="16dp">
<FrameLayout
@@ -23,10 +23,40 @@
android:layout_height="wrap_content"
android:id="@+id/progressBar"
android:layout_gravity="center"/>
- <ListView
- android:id="@+id/listview"
+
+ <LinearLayout
+ android:id="@+id/feedDisplay"
android:layout_width="match_parent"
- android:layout_height="match_parent"/>
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
+
+ <include layout="@layout/feeditemlist_header"/>
+
+ <Spinner
+ android:id="@+id/spinnerAlternateUrls"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="8dp"
+ android:layout_marginRight="8dp"
+ android:layout_marginTop="8dp"
+ android:padding="8dp"
+ android:textColor="?android:attr/textColorPrimary"
+ android:textSize="@dimen/text_size_micro"/>
+
+ <Button
+ android:id="@+id/butSubscribe"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_margin="16dp"
+ android:focusable="false"
+ android:text="@string/subscribe_label"/>
+
+ <ListView
+ android:id="@+id/listview"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"/>
+
+ </LinearLayout>
</FrameLayout>
</androidx.cardview.widget.CardView>
diff --git a/app/src/main/res/layout/onlinefeedview_header.xml b/app/src/main/res/layout/onlinefeedview_header.xml
index 20fbb8026..aa690e142 100644
--- a/app/src/main/res/layout/onlinefeedview_header.xml
+++ b/app/src/main/res/layout/onlinefeedview_header.xml
@@ -6,27 +6,6 @@
android:layout_height="wrap_content"
android:layout_width="match_parent">
- <include layout="@layout/feeditemlist_header"/>
-
- <Spinner
- android:id="@+id/spinnerAlternateUrls"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="8dp"
- android:layout_marginRight="8dp"
- android:layout_marginTop="8dp"
- android:padding="8dp"
- android:textColor="?android:attr/textColorPrimary"
- android:textSize="@dimen/text_size_micro"/>
-
- <Button
- android:id="@+id/butSubscribe"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_margin="16dp"
- android:focusable="false"
- android:text="@string/subscribe_label"/>
-
<TextView
android:id="@+id/txtvDescription"
android:layout_width="wrap_content"