summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/simple_list_fragment.xml
diff options
context:
space:
mode:
authorH. Lehmann <ByteHamster@users.noreply.github.com>2020-03-16 18:50:00 +0100
committerGitHub <noreply@github.com>2020-03-16 18:50:00 +0100
commit15b1afa38b3ca1614296acc55ecc0535ac39df28 (patch)
treed8416d2830b980358d73afc97db73c2a3093d8ac /app/src/main/res/layout/simple_list_fragment.xml
parent2c72c3855b117713d0a23d63cbe95c41922fada6 (diff)
parentbe22ad1682ae4369a27fa3a1557cfe8e716df5d2 (diff)
downloadAntennaPod-15b1afa38b3ca1614296acc55ecc0535ac39df28.zip
Merge pull request #3923 from ByteHamster/toolbar
Moved Toolbar to individual Fragments
Diffstat (limited to 'app/src/main/res/layout/simple_list_fragment.xml')
-rw-r--r--app/src/main/res/layout/simple_list_fragment.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/app/src/main/res/layout/simple_list_fragment.xml b/app/src/main/res/layout/simple_list_fragment.xml
new file mode 100644
index 000000000..91392d0a4
--- /dev/null
+++ b/app/src/main/res/layout/simple_list_fragment.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <androidx.appcompat.widget.Toolbar
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:minHeight="?attr/actionBarSize"
+ android:theme="?attr/actionBarTheme"
+ android:layout_alignParentTop="true"
+ android:id="@+id/toolbar"/>
+
+ <ListView android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_below="@id/toolbar"
+ android:id="@android:id/list"
+ android:clipToPadding="false"/>
+
+ <ProgressBar
+ android:id="@+id/progLoading"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerInParent="true"
+ android:indeterminateOnly="true"
+ android:visibility="gone"/>
+
+</RelativeLayout>