blob: 9fd1a69041e6dffd7a4c3105f272c2c19c8c2116 [file] [log] [blame]
Dmitri Plotnikove1d4c062010-07-15 16:20:36 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2009 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
Marcus Hagerottbea2b852016-08-11 14:55:52 -070017<android.support.design.widget.CoordinatorLayout
18 xmlns:android="http://schemas.android.com/apk/res/android"
19 android:id="@+id/root"
Dmitri Plotnikove1d4c062010-07-15 16:20:36 -070020 android:layout_width="match_parent"
Marcus Hagerottbea2b852016-08-11 14:55:52 -070021 android:layout_height="match_parent" >
Katherine Kuanb5760b92011-06-01 16:19:40 -070022
Marcus Hagerottbea2b852016-08-11 14:55:52 -070023 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
24 android:id="@+id/list_container"
25 android:layout_width="match_parent"
26 android:layout_height="match_parent">
Wenyi Wangc516dd32016-04-07 16:25:51 -070027
Marcus Hagerottbea2b852016-08-11 14:55:52 -070028 <!--
29 ViewPager for swiping between tabs. We put fragments at runtime.
Wenyi Wangf568b302016-04-02 13:58:43 -070030
Marcus Hagerottbea2b852016-08-11 14:55:52 -070031 (Adding them directly as the children of this view is not recommended. ViewPager should
32 be treated like a ListView, which doesn't expect children to be added from the layout.)
33 -->
34 <android.support.v4.view.ViewPager
35 android:id="@+id/tab_pager"
Wenyi Wangbb229242016-05-25 16:04:13 -070036 android:layout_height="match_parent"
Marcus Hagerottbea2b852016-08-11 14:55:52 -070037 android:layout_width="match_parent"
38 android:layout_below="@id/toolbar_parent"
39 />
40
41 <FrameLayout
42 android:id="@+id/contacts_unavailable_view"
43 android:layout_width="match_parent"
44 android:layout_height="match_parent"
45 android:layout_below="@id/toolbar_parent"
46 android:visibility="gone">
47 <FrameLayout
48 android:id="@+id/contacts_unavailable_container"
49 android:layout_height="match_parent"
50 android:layout_width="match_parent" />
51 </FrameLayout>
52
53 </RelativeLayout>
Wenyi Wangbb229242016-05-25 16:04:13 -070054
55 <include layout="@layout/floating_action_button" />
Marcus Hagerottbea2b852016-08-11 14:55:52 -070056</android.support.design.widget.CoordinatorLayout>