summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/feeditem_pager_fragment.xml
diff options
context:
space:
mode:
authorByteHamster <ByteHamster@users.noreply.github.com>2022-09-18 21:42:21 +0200
committerGitHub <noreply@github.com>2022-09-18 21:42:21 +0200
commit261c7982defc86607a45acaba01c913abe0e6582 (patch)
tree019b84db0cce18b8a7d4ce0a9a50adc7f05b969e /app/src/main/res/layout/feeditem_pager_fragment.xml
parent8426e32fe8c485b14fc33081313c0909e54bd618 (diff)
parentcbff160bd549ee4e093491512acd99970cd9a2b6 (diff)
downloadAntennaPod-261c7982defc86607a45acaba01c913abe0e6582.zip
Merge pull request #6002 from ByteHamster/material3
Material Design 3
Diffstat (limited to 'app/src/main/res/layout/feeditem_pager_fragment.xml')
-rw-r--r--app/src/main/res/layout/feeditem_pager_fragment.xml35
1 files changed, 18 insertions, 17 deletions
diff --git a/app/src/main/res/layout/feeditem_pager_fragment.xml b/app/src/main/res/layout/feeditem_pager_fragment.xml
index 690ac3bc1..604e7a703 100644
--- a/app/src/main/res/layout/feeditem_pager_fragment.xml
+++ b/app/src/main/res/layout/feeditem_pager_fragment.xml
@@ -1,23 +1,24 @@
<?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_height="match_parent"
- android:layout_width="match_parent"
- android:orientation="vertical">
+ 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"
+ android:fitsSystemWindows="true"
+ 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:navigationContentDescription="@string/toolbar_back_button_content_description"
- app:navigationIcon="?homeAsUpIndicator"
- android:id="@+id/toolbar"/>
+ <com.google.android.material.appbar.MaterialToolbar
+ android:id="@+id/toolbar"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:minHeight="?attr/actionBarSize"
+ android:theme="?attr/actionBarTheme"
+ app:navigationContentDescription="@string/toolbar_back_button_content_description"
+ app:navigationIcon="?homeAsUpIndicator" />
<androidx.viewpager2.widget.ViewPager2
- android:id="@+id/pager"
- android:layout_width="match_parent"
- android:layout_height="match_parent"/>
+ android:id="@+id/pager"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" />
-</LinearLayout> \ No newline at end of file
+</LinearLayout>