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