diff options
author | Bryson Steck <steck.bryson@gmail.com> | 2021-08-15 14:13:51 -0600 |
---|---|---|
committer | Bryson Steck <steck.bryson@gmail.com> | 2021-08-15 14:13:51 -0600 |
commit | b4078fe23a7cbae5eb2a017663c5b46990defcb7 (patch) | |
tree | a017f78b65b01b87519ff29d17b5f61cd9701d74 /app/src/main/res/layout/activity_wiimmfi.xml | |
parent | 1643931494c2b9411a05fdefe8c03416fe072142 (diff) | |
download | wiimmfi-watcher-b4078fe23a7cbae5eb2a017663c5b46990defcb7.tar wiimmfi-watcher-b4078fe23a7cbae5eb2a017663c5b46990defcb7.tar.gz wiimmfi-watcher-b4078fe23a7cbae5eb2a017663c5b46990defcb7.tar.bz2 |
adding pictures instead
Diffstat (limited to 'app/src/main/res/layout/activity_wiimmfi.xml')
-rw-r--r-- | app/src/main/res/layout/activity_wiimmfi.xml | 43 |
1 files changed, 31 insertions, 12 deletions
diff --git a/app/src/main/res/layout/activity_wiimmfi.xml b/app/src/main/res/layout/activity_wiimmfi.xml index f62fe15..41cf4fe 100644 --- a/app/src/main/res/layout/activity_wiimmfi.xml +++ b/app/src/main/res/layout/activity_wiimmfi.xml @@ -15,20 +15,39 @@ <com.google.android.material.appbar.AppBarLayout style="@style/Widget.MaterialComponents.AppBarLayout.Primary" android:layout_width="match_parent" - android:layout_height="wrap_content" + android:layout_height="200dp" android:fitsSystemWindows="true"> - <com.google.android.material.appbar.MaterialToolbar - android:id="@+id/toolbar" - style="@style/Widget.MaterialComponents.Toolbar.Primary" + <com.google.android.material.appbar.CollapsingToolbarLayout android:layout_width="match_parent" - android:layout_height="?attr/actionBarSize" - android:background="@android:color/transparent" - android:elevation="0dp" - app:navigationIcon="@drawable/ic_baseline_menu_24" - app:navigationIconTint="#FFFFFF" - app:title="Watching 0000-0000-0000" - app:titleTextColor="#FFFFFF" /> + android:layout_height="match_parent" + android:fitsSystemWindows="true" + app:expandedTitleTextAppearance="@style/TextAppearance.App.CollapsingToolbar.Expanded" + app:collapsedTitleTextAppearance="@style/TextAppearance.App.CollapsingToolbar.Collapsed"> + + <ImageView + android:layout_width="match_parent" + android:layout_height="match_parent" + android:fitsSystemWindows="true" + android:scaleType="centerCrop" + android:src="@drawable/course_ctgp" /> + + <com.google.android.material.appbar.MaterialToolbar + android:id="@+id/toolbar" + style="@style/Widget.MaterialComponents.Toolbar.Primary" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:background="@android:color/transparent" + android:elevation="0dp" + app:navigationIcon="@drawable/ic_baseline_menu_24" + app:title="Watching 0000-0000-0000" + app:titleTextColor="#FFFFFF" /> + + </com.google.android.material.appbar.CollapsingToolbarLayout> + + + + </com.google.android.material.appbar.AppBarLayout> @@ -51,7 +70,7 @@ android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_gravity="start" - android:theme="@style/Theme.WiimmfiWatcher" + android:theme="@style/Theme.WiimmfiWatcher.Watching" app:headerLayout="@layout/header_navigation_drawer" app:menu="@menu/drawer_navigation_menu"> |