diff options
author | ByteHamster <ByteHamster@users.noreply.github.com> | 2022-11-27 12:42:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-27 12:42:42 +0100 |
commit | 6c4c51994d3b49ef026c0bce70b4da584e37b094 (patch) | |
tree | 8d391a0dbd905a6cc69f601af8f33263ad95c58a /app/src/main/res/layout/fragment_itunes_search.xml | |
parent | 3973f450bed152a10aa46de23791f9028da33f8b (diff) | |
download | AntennaPod-6c4c51994d3b49ef026c0bce70b4da584e37b094.zip |
Switch back to non-transparent navigation bar (#6111)
Diffstat (limited to 'app/src/main/res/layout/fragment_itunes_search.xml')
-rw-r--r-- | app/src/main/res/layout/fragment_itunes_search.xml | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/app/src/main/res/layout/fragment_itunes_search.xml b/app/src/main/res/layout/fragment_itunes_search.xml index d39d49c04..36026ae1e 100644 --- a/app/src/main/res/layout/fragment_itunes_search.xml +++ b/app/src/main/res/layout/fragment_itunes_search.xml @@ -4,25 +4,32 @@ xmlns:tools="http://schemas.android.com/tools" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" - android:layout_height="match_parent" - android:fitsSystemWindows="true"> + android:layout_height="match_parent"> - <com.google.android.material.appbar.MaterialToolbar - android:id="@+id/toolbar" + <com.google.android.material.appbar.AppBarLayout + android:id="@+id/appbar" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_alignParentTop="true" - android:minHeight="?attr/actionBarSize" - android:orientation="horizontal" - android:theme="?attr/actionBarTheme" - app:navigationIcon="?homeAsUpIndicator" - app:title="@string/discover" /> + android:fitsSystemWindows="true" + android:elevation="0dp"> + + <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:title="@string/discover" + app:navigationIcon="?homeAsUpIndicator" /> + + </com.google.android.material.appbar.AppBarLayout> <GridView android:id="@+id/gridView" android:layout_width="match_parent" android:layout_height="match_parent" - android:layout_below="@id/toolbar" + android:layout_below="@id/appbar" android:clipToPadding="false" android:columnWidth="400dp" android:gravity="center" |