aboutsummaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorpacien2018-04-21 19:58:32 +0200
committerpacien2018-04-21 19:58:32 +0200
commitba99c34a26c21cbb9e94675d264823fee554c7e6 (patch)
tree606fa7ea240e4b733a30482b5b4b16ad91030625 /app/src/main
parent89f8f3d1b7099da47330b869eb2f8038aa152e56 (diff)
downloadtincapp-ba99c34a26c21cbb9e94675d264823fee554c7e6.tar.gz
Simplify frame layout
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/res/layout/base.xml22
1 files changed, 8 insertions, 14 deletions
diff --git a/app/src/main/res/layout/base.xml b/app/src/main/res/layout/base.xml
index 9259a08..710c002 100644
--- a/app/src/main/res/layout/base.xml
+++ b/app/src/main/res/layout/base.xml
@@ -4,26 +4,20 @@
4 android:id="@+id/activity_base" 4 android:id="@+id/activity_base"
5 android:layout_width="match_parent" 5 android:layout_width="match_parent"
6 android:layout_height="match_parent" 6 android:layout_height="match_parent"
7 android:background="@color/backgroundSecondary"
8 android:clipToPadding="false"
7 android:fitsSystemWindows="true" 9 android:fitsSystemWindows="true"
10 android:paddingLeft="@dimen/activity_horizontal_gutter"
11 android:paddingRight="@dimen/activity_horizontal_gutter"
12 app:layout_behavior="@string/appbar_scrolling_view_behavior"
8 tools:context=".activities.BaseActivity"> 13 tools:context=".activities.BaseActivity">
9 14
10 <FrameLayout 15 <FrameLayout
16 android:id="@+id/main_content"
11 android:layout_width="match_parent" 17 android:layout_width="match_parent"
12 android:layout_height="match_parent" 18 android:layout_height="match_parent"
13 android:background="@color/backgroundSecondary" 19 android:background="@color/backgroundPrimary"
14 android:clipToPadding="false" 20 android:elevation="@dimen/activity_page_elevation">
15 android:paddingLeft="@dimen/activity_horizontal_gutter"
16 android:paddingRight="@dimen/activity_horizontal_gutter"
17 app:layout_behavior="@string/appbar_scrolling_view_behavior">
18
19 <FrameLayout
20 android:id="@+id/main_content"
21 android:layout_width="match_parent"
22 android:layout_height="match_parent"
23 android:background="@color/backgroundPrimary"
24 android:elevation="@dimen/activity_page_elevation">
25 </FrameLayout>
26
27 </FrameLayout> 21 </FrameLayout>
28 22
29</android.support.design.widget.CoordinatorLayout> 23</android.support.design.widget.CoordinatorLayout>