1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2013 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<android.support.design.widget.CoordinatorLayout
17  xmlns:android="http://schemas.android.com/apk/res/android"
18  xmlns:app="http://schemas.android.com/apk/res-auto"
19  android:id="@+id/dialtacts_mainlayout"
20  android:layout_width="match_parent"
21  android:layout_height="match_parent"
22  android:background="?android:attr/colorBackground"
23  android:clipChildren="false"
24  android:clipToPadding="false"
25  android:focusable="true"
26  android:focusableInTouchMode="true"
27  android:orientation="vertical">
28
29  <FrameLayout
30    android:id="@+id/dialtacts_container"
31    android:layout_width="match_parent"
32    android:layout_height="match_parent"
33    android:clipChildren="false">
34    <!-- The main contacts grid -->
35    <FrameLayout
36      android:id="@+id/dialtacts_frame"
37      android:layout_width="match_parent"
38      android:layout_height="match_parent"
39      android:clipChildren="false"/>
40  </FrameLayout>
41
42  <android.support.design.widget.FloatingActionButton
43      android:id="@+id/floating_action_button"
44      android:layout_width="wrap_content"
45      android:layout_height="wrap_content"
46      android:layout_gravity="center_horizontal|bottom"
47      android:layout_marginBottom="@dimen/floating_action_button_margin_bottom"
48      android:contentDescription="@string/action_menu_dialpad_button"
49      android:src="@drawable/quantum_ic_dialpad_white_24"
50      app:elevation="@dimen/floating_action_button_translation_z"
51      app:backgroundTint="?android:attr/colorAccent"/>
52
53  <!-- Host container for the contact tile drag shadow -->
54  <FrameLayout
55    android:id="@+id/activity_overlay"
56    android:layout_width="match_parent"
57    android:layout_height="match_parent">
58    <ImageView
59      android:id="@+id/contact_tile_drag_shadow_overlay"
60      android:layout_width="wrap_content"
61      android:layout_height="wrap_content"
62      android:importantForAccessibility="no"
63      android:visibility="gone"/>
64  </FrameLayout>
65
66</android.support.design.widget.CoordinatorLayout>
67