aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/app_toolbar.xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layout/app_toolbar.xml')
-rw-r--r--app/src/main/res/layout/app_toolbar.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/src/main/res/layout/app_toolbar.xml b/app/src/main/res/layout/app_toolbar.xml
new file mode 100644
index 0000000..12eeb47
--- /dev/null
+++ b/app/src/main/res/layout/app_toolbar.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Shared title bar. The theme is NoActionBar so each screen hosts its own
+ Toolbar; the dark overlay gives the title light text on the dark bar. -->
+<androidx.appcompat.widget.Toolbar
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/toolbar"
+ android:layout_width="match_parent"
+ android:layout_height="?attr/actionBarSize"
+ android:background="@color/bar"
+ android:elevation="4dp"
+ android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" />