diff options
Diffstat (limited to 'res/layout/section_header.xml')
-rw-r--r-- | res/layout/section_header.xml | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/res/layout/section_header.xml b/res/layout/section_header.xml index a0943d0..49dccbd 100644 --- a/res/layout/section_header.xml +++ b/res/layout/section_header.xml @@ -15,29 +15,24 @@ limitations under the License. --> -<com.google.android.material.appbar.AppBarLayout - xmlns:android="http://schemas.android.com/apk/res/android" +<com.google.android.material.appbar.AppBarLayout 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="wrap_content" - android:elevation="8dp"> + android:background="@null" + app:elevation="0dp"> - <androidx.appcompat.widget.Toolbar - style="@style/RegularToolbarStyle" + <Toolbar android:id="@+id/toolbar" android:layout_width="match_parent" android:layout_height="?android:attr/actionBarSize" + android:theme="?android:attr/actionBarTheme" android:layout_gravity="top"> <TextView android:id="@+id/custom_toolbar_title" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_gravity="center_horizontal" - android:textAppearance="@style/TitleTextAppearance"/> - </androidx.appcompat.widget.Toolbar> + android:textAppearance="@style/CollapsingToolbarTitle.Collapsed"/> + </Toolbar> - <FrameLayout - android:id="@+id/toolbar_tabs_container" - android:layout_height="wrap_content" - android:layout_width="match_parent" /> - -</com.google.android.material.appbar.AppBarLayout>
\ No newline at end of file +</com.google.android.material.appbar.AppBarLayout> |