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<FrameLayout
17    xmlns:android="http://schemas.android.com/apk/res/android"
18    android:id="@+id/dialtacts_mainlayout"
19    android:layout_width="match_parent"
20    android:layout_height="match_parent"
21    android:orientation="vertical"
22    android:focusable="true"
23    android:focusableInTouchMode="true"
24    android:clipChildren="false"
25    android:background="@color/background_dialer_light">
26
27    <FrameLayout
28        android:id="@+id/dialtacts_container"
29        android:layout_width="match_parent"
30        android:layout_height="match_parent"
31        android:clipChildren="false">
32        <!-- The main contacts grid -->
33        <FrameLayout
34            android:layout_height="match_parent"
35            android:layout_width="match_parent"
36            android:id="@+id/dialtacts_frame"
37            android:clipChildren="false" />
38    </FrameLayout>
39
40    <FrameLayout
41        android:id="@+id/floating_action_button_container"
42        android:background="@drawable/fab_blue"
43        android:layout_width="@dimen/floating_action_button_width"
44        android:layout_height="@dimen/floating_action_button_height"
45        android:layout_marginBottom="@dimen/floating_action_button_margin_bottom"
46        android:layout_gravity="center_horizontal|bottom">
47
48        <ImageButton
49            android:id="@+id/floating_action_button"
50            android:background="@drawable/floating_action_button"
51            android:layout_width="match_parent"
52            android:layout_height="match_parent"
53            android:contentDescription="@string/action_menu_dialpad_button"
54            android:src="@drawable/fab_ic_dial"/>
55
56    </FrameLayout>
57
58    <!-- Host container for the contact tile drag shadow -->
59    <FrameLayout
60        android:id="@+id/activity_overlay"
61        android:layout_height="match_parent"
62        android:layout_width="match_parent">
63        <ImageView
64            android:id="@+id/contact_tile_drag_shadow_overlay"
65            android:layout_width="wrap_content"
66            android:layout_height="wrap_content"
67            android:visibility="gone"
68            android:importantForAccessibility="no" />
69    </FrameLayout>
70
71</FrameLayout>
72