diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-03-01 08:30:33 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-03-01 08:30:33 +0000 |
commit | 192d64f6bcd1d606c7474af43ebd5073f76fbb7f (patch) | |
tree | 04fae93e8d148901899786921718c4cca2eab9a0 /app/src/main/res/layout/activity_post_text.xml | |
parent | 152a6a280ace51a09ed55fe1e57c2f9168a59c95 (diff) | |
download | infinity-for-reddit-192d64f6bcd1d606c7474af43ebd5073f76fbb7f.tar infinity-for-reddit-192d64f6bcd1d606c7474af43ebd5073f76fbb7f.tar.gz infinity-for-reddit-192d64f6bcd1d606c7474af43ebd5073f76fbb7f.tar.bz2 infinity-for-reddit-192d64f6bcd1d606c7474af43ebd5073f76fbb7f.tar.lz infinity-for-reddit-192d64f6bcd1d606c7474af43ebd5073f76fbb7f.tar.xz infinity-for-reddit-192d64f6bcd1d606c7474af43ebd5073f76fbb7f.tar.zst infinity-for-reddit-192d64f6bcd1d606c7474af43ebd5073f76fbb7f.zip |
Still prepare to support multiple themes.
Diffstat (limited to 'app/src/main/res/layout/activity_post_text.xml')
-rw-r--r-- | app/src/main/res/layout/activity_post_text.xml | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/app/src/main/res/layout/activity_post_text.xml b/app/src/main/res/layout/activity_post_text.xml index 619e2805..95069d20 100644 --- a/app/src/main/res/layout/activity_post_text.xml +++ b/app/src/main/res/layout/activity_post_text.xml @@ -9,17 +9,27 @@ tools:application=".PostTextActivity"> <com.google.android.material.appbar.AppBarLayout + android:id="@+id/appbar_layout_post_text_activity" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="?attr/toolbarAndTabBackgroundColor" android:theme="@style/AppTheme.AppBarOverlay"> - <androidx.appcompat.widget.Toolbar - android:id="@+id/toolbar_post_text_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_post_text_activity"> + + <androidx.appcompat.widget.Toolbar + android:id="@+id/toolbar_post_text_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> |