diff options
author | Alex Ning <chineseperson5@gmail.com> | 2019-08-12 02:08:49 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2019-08-12 02:08:49 +0000 |
commit | 1ce96509356c98f04377ac6aa94f54c8d51aa0d0 (patch) | |
tree | bf064dc3ae3a780711e725f2b83e694ae14caa75 /app/src/main/res/layout | |
parent | 4ca9b065516a6f6799aab6842d419e9f22f8dfa0 (diff) | |
download | infinity-for-reddit-1ce96509356c98f04377ac6aa94f54c8d51aa0d0.tar infinity-for-reddit-1ce96509356c98f04377ac6aa94f54c8d51aa0d0.tar.gz infinity-for-reddit-1ce96509356c98f04377ac6aa94f54c8d51aa0d0.tar.bz2 infinity-for-reddit-1ce96509356c98f04377ac6aa94f54c8d51aa0d0.tar.lz infinity-for-reddit-1ce96509356c98f04377ac6aa94f54c8d51aa0d0.tar.xz infinity-for-reddit-1ce96509356c98f04377ac6aa94f54c8d51aa0d0.tar.zst infinity-for-reddit-1ce96509356c98f04377ac6aa94f54c8d51aa0d0.zip |
Transparent nav bar in FilteredPostsActivity.
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/activity_filtered_posts.xml | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/app/src/main/res/layout/activity_filtered_posts.xml b/app/src/main/res/layout/activity_filtered_posts.xml index a7b605a7..b4065444 100644 --- a/app/src/main/res/layout/activity_filtered_posts.xml +++ b/app/src/main/res/layout/activity_filtered_posts.xml @@ -7,16 +7,26 @@ tools:application=".FilteredPostsActivity"> <com.google.android.material.appbar.AppBarLayout + android:id="@+id/appbar_layout_filtered_posts_activity" android:layout_width="match_parent" android:layout_height="wrap_content" android:theme="@style/AppTheme.AppBarOverlay"> - <androidx.appcompat.widget.Toolbar - android:id="@+id/toolbar_filtered_posts_activity" + <com.google.android.material.appbar.CollapsingToolbarLayout android:layout_width="match_parent" - android:layout_height="?attr/actionBarSize" - app:popupTheme="@style/AppTheme.PopupOverlay" - app:navigationIcon="?attr/homeAsUpIndicator" /> + android:layout_height="match_parent" + app:layout_scrollFlags="scroll|enterAlways" + app:titleEnabled="false" + app:toolbarId="@+id/toolbar_filtered_posts_activity"> + + <androidx.appcompat.widget.Toolbar + android:id="@+id/toolbar_filtered_posts_activity" + android:layout_width="match_parent" + android:layout_height="?attr/actionBarSize" + app:popupTheme="@style/AppTheme.PopupOverlay" + app:navigationIcon="?attr/homeAsUpIndicator" /> + + </com.google.android.material.appbar.CollapsingToolbarLayout> </com.google.android.material.appbar.AppBarLayout> |