summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/app_bar_main.xml
diff options
context:
space:
mode:
authorJoe Robinson <joe@lc8n.com>2019-04-20 03:56:13 +0200
committerJoe Robinson <joe@lc8n.com>2019-04-20 03:56:13 +0200
commit9d430209d39d0e68f6311adfff9d476c8856f662 (patch)
treef31e91badaafb62825e737e435d55cd89301a9ae /app/src/main/res/layout/app_bar_main.xml
Initial commit - working file list view
Diffstat (limited to 'app/src/main/res/layout/app_bar_main.xml')
-rw-r--r--app/src/main/res/layout/app_bar_main.xml34
1 files changed, 34 insertions, 0 deletions
diff --git a/app/src/main/res/layout/app_bar_main.xml b/app/src/main/res/layout/app_bar_main.xml
new file mode 100644
index 0000000..d2e32b7
--- /dev/null
+++ b/app/src/main/res/layout/app_bar_main.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="utf-8"?>
+<android.support.design.widget.CoordinatorLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ tools:context=".view.MainActivity">
+
+ <android.support.design.widget.AppBarLayout
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:theme="@style/AppTheme.AppBarOverlay">
+
+ <android.support.v7.widget.Toolbar
+ android:id="@+id/toolbar"
+ android:layout_width="match_parent"
+ android:layout_height="?attr/actionBarSize"
+ android:background="?attr/colorPrimary"
+ app:popupTheme="@style/AppTheme.PopupOverlay"/>
+
+ </android.support.design.widget.AppBarLayout>
+
+ <include layout="@layout/content_main"/>
+
+ <android.support.design.widget.FloatingActionButton
+ android:id="@+id/fab"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="bottom|end"
+ android:layout_margin="@dimen/fab_margin"
+ app:srcCompat="@android:drawable/ic_dialog_email"/>
+
+</android.support.design.widget.CoordinatorLayout> \ No newline at end of file