summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/app_bar_main.xml
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-08-20 22:55:02 +0200
committerFlorian Dold <florian.dold@gmail.com>2019-08-20 22:55:02 +0200
commit884fa0b47579bef3cf29450acdce73c2ee5304fe (patch)
tree5da6fd067379ffa1947efd87d233957aa545bd7c /app/src/main/res/layout/app_bar_main.xml
downloadwallet-android-884fa0b47579bef3cf29450acdce73c2ee5304fe.tar.gz
wallet-android-884fa0b47579bef3cf29450acdce73c2ee5304fe.tar.bz2
wallet-android-884fa0b47579bef3cf29450acdce73c2ee5304fe.zip
import into repo
Diffstat (limited to 'app/src/main/res/layout/app_bar_main.xml')
-rw-r--r--app/src/main/res/layout/app_bar_main.xml41
1 files changed, 41 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..0e95cb0
--- /dev/null
+++ b/app/src/main/res/layout/app_bar_main.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="utf-8"?>
+<androidx.coordinatorlayout.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=".MainActivity">
+
+
+ <com.google.android.material.appbar.AppBarLayout
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:theme="@style/AppTheme.AppBarOverlay">
+
+ <RelativeLayout
+ android:layout_width="match_parent"
+ android:layout_height="?attr/actionBarSize">
+
+ <androidx.appcompat.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"/>
+ <me.zhanghai.android.materialprogressbar.MaterialProgressBar
+ android:id="@+id/progress_bar"
+ android:layout_width="match_parent"
+ android:layout_height="4dp"
+ android:indeterminate="true"
+ app:mpb_progressStyle="horizontal"
+ app:mpb_useIntrinsicPadding="false"
+ android:layout_alignParentBottom="true"
+ style="@style/Widget.MaterialProgressBar.ProgressBar.Horizontal"/>
+ </RelativeLayout>
+
+ </com.google.android.material.appbar.AppBarLayout>
+
+ <include layout="@layout/content_main" android:id="@+id/include"/>
+
+</androidx.coordinatorlayout.widget.CoordinatorLayout> \ No newline at end of file