diff options
author | ByteHamster <info@bytehamster.com> | 2020-03-12 13:28:30 +0100 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2020-03-15 20:09:11 +0100 |
commit | 7f4d43deb16ee0ce6a49f78805e5600d3e01161f (patch) | |
tree | 504079a84ba03df68a10fac7048d7240faa94cd3 /app/src/main/res/layout/feeditem_pager_fragment.xml | |
parent | 03d1f41e9bd88e1920be306ef8bcd10642ce5527 (diff) | |
download | AntennaPod-7f4d43deb16ee0ce6a49f78805e5600d3e01161f.zip |
Moved Toolbar to individual Fragments
Diffstat (limited to 'app/src/main/res/layout/feeditem_pager_fragment.xml')
-rw-r--r-- | app/src/main/res/layout/feeditem_pager_fragment.xml | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/app/src/main/res/layout/feeditem_pager_fragment.xml b/app/src/main/res/layout/feeditem_pager_fragment.xml index 8ea5bf4f9..50c490611 100644 --- a/app/src/main/res/layout/feeditem_pager_fragment.xml +++ b/app/src/main/res/layout/feeditem_pager_fragment.xml @@ -1,6 +1,22 @@ <?xml version="1.0" encoding="utf-8"?> -<androidx.viewpager.widget.ViewPager - xmlns:android="http://schemas.android.com/apk/res/android" - android:id="@+id/pager" - android:layout_width="match_parent" - android:layout_height="match_parent" /> +<LinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + android:layout_height="match_parent" + android:layout_width="match_parent" + android:orientation="vertical"> + + <androidx.appcompat.widget.Toolbar + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:minHeight="?attr/actionBarSize" + android:theme="?attr/actionBarTheme" + app:navigationIcon="?homeAsUpIndicator" + android:id="@+id/toolbar"/> + + <androidx.viewpager.widget.ViewPager + android:id="@+id/pager" + android:layout_width="match_parent" + android:layout_height="match_parent"/> + +</LinearLayout>
\ No newline at end of file |