diff options
author | Alex Ning <chineseperson5@gmail.com> | 2019-08-05 02:30:22 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2019-08-05 02:30:22 +0000 |
commit | 0d1fcecde60bbb1eb3b43736807883b12e54b2e8 (patch) | |
tree | d796ee393dfd4ea3c0f09232db38478125459cc6 /app/src/main/res/layout/activity_post_text.xml | |
parent | 44e2987a848ec07fd866f8ed76bb29c66b03e60a (diff) | |
download | infinity-for-reddit-0d1fcecde60bbb1eb3b43736807883b12e54b2e8.tar infinity-for-reddit-0d1fcecde60bbb1eb3b43736807883b12e54b2e8.tar.gz infinity-for-reddit-0d1fcecde60bbb1eb3b43736807883b12e54b2e8.tar.bz2 infinity-for-reddit-0d1fcecde60bbb1eb3b43736807883b12e54b2e8.tar.lz infinity-for-reddit-0d1fcecde60bbb1eb3b43736807883b12e54b2e8.tar.xz infinity-for-reddit-0d1fcecde60bbb1eb3b43736807883b12e54b2e8.tar.zst infinity-for-reddit-0d1fcecde60bbb1eb3b43736807883b12e54b2e8.zip |
Searching subreddits to post is available. Use Toolbar instead of ActionBar in various activities. Minor bugs fixed.
Diffstat (limited to 'app/src/main/res/layout/activity_post_text.xml')
-rw-r--r-- | app/src/main/res/layout/activity_post_text.xml | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/app/src/main/res/layout/activity_post_text.xml b/app/src/main/res/layout/activity_post_text.xml index b3066f1f..e002f0a3 100644 --- a/app/src/main/res/layout/activity_post_text.xml +++ b/app/src/main/res/layout/activity_post_text.xml @@ -7,10 +7,24 @@ android:id="@+id/coordinator_layout_post_text_activity" tools:context=".PostTextActivity"> + <com.google.android.material.appbar.AppBarLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:theme="@style/AppTheme.AppBarOverlay"> + + <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.AppBarLayout> + <androidx.core.widget.NestedScrollView android:layout_width="match_parent" android:layout_height="match_parent" - android:fillViewport="true"> + app:layout_behavior="@string/appbar_scrolling_view_behavior"> <LinearLayout android:layout_width="match_parent" |