aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/base.xml
diff options
context:
space:
mode:
authorPacien TRAN-GIRARD2017-05-05 01:02:16 +0200
committerPacien TRAN-GIRARD2017-05-05 01:02:16 +0200
commit2495d8032eb6839a55080b79ac818383c2f75b79 (patch)
tree6dfbab541368d10ddf1903e3ad93c44ea81080be /app/src/main/res/layout/base.xml
parent6fcd36fb73b2351a58f812532ce846414ed77117 (diff)
downloadtincapp-0.1-preview.tar.gz
Import unversioned prototypev0.1-preview
Diffstat (limited to 'app/src/main/res/layout/base.xml')
-rw-r--r--app/src/main/res/layout/base.xml47
1 files changed, 47 insertions, 0 deletions
diff --git a/app/src/main/res/layout/base.xml b/app/src/main/res/layout/base.xml
new file mode 100644
index 0000000..11df049
--- /dev/null
+++ b/app/src/main/res/layout/base.xml
@@ -0,0 +1,47 @@
1<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
2 xmlns:app="http://schemas.android.com/apk/res-auto"
3 xmlns:tools="http://schemas.android.com/tools"
4 android:id="@+id/activity_base"
5 android:layout_width="match_parent"
6 android:layout_height="match_parent"
7 android:fitsSystemWindows="true"
8 tools:context="org.pacien.tincapp.activities.BaseActivity">
9
10 <android.support.design.widget.AppBarLayout
11 android:id="@+id/appbar"
12 android:layout_width="match_parent"
13 android:layout_height="wrap_content"
14 android:paddingTop="@dimen/appbar_padding_top"
15 android:theme="@style/AppTheme.AppBarOverlay">
16
17 <android.support.v7.widget.Toolbar
18 android:id="@+id/toolbar"
19 android:layout_width="match_parent"
20 android:layout_height="?attr/actionBarSize"
21 android:background="?attr/colorPrimary"
22 app:layout_scrollFlags="enterAlways"
23 app:popupTheme="@style/AppTheme.PopupOverlay">
24
25 </android.support.v7.widget.Toolbar>
26
27 </android.support.design.widget.AppBarLayout>
28
29 <ScrollView
30 android:layout_width="match_parent"
31 android:layout_height="match_parent"
32 app:layout_behavior="@string/appbar_scrolling_view_behavior">
33
34 <FrameLayout
35 android:id="@+id/main_content"
36 android:layout_width="match_parent"
37 android:layout_height="wrap_content"
38 android:paddingBottom="@dimen/activity_vertical_margin"
39 android:paddingLeft="@dimen/activity_horizontal_margin"
40 android:paddingRight="@dimen/activity_horizontal_margin"
41 android:paddingTop="@dimen/activity_vertical_margin">
42
43 </FrameLayout>
44
45 </ScrollView>
46
47</android.support.design.widget.CoordinatorLayout>