blob: 70d056136f432b9f5cdfffffc856d810f46aa5db [file] [log] [blame]
Chiao Cheng94b10b52012-08-17 16:59:12 -07001<?xml version="1.0" encoding="utf-8"?>
Yorke Lee8898cd02013-08-08 10:24:27 -07002<!-- Copyright (C) 2013 The Android Open Source Project
Chiao Cheng94b10b52012-08-17 16:59:12 -07003
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-->
Nancy Chenf3d9f822015-09-11 00:47:31 -040016<android.support.design.widget.CoordinatorLayout
Yorke Lee8898cd02013-08-08 10:24:27 -070017 xmlns:android="http://schemas.android.com/apk/res/android"
Nancy Chenf3d9f822015-09-11 00:47:31 -040018 xmlns:app="http://schemas.android.com/apk/res-auto"
Yorke Lee86e21f72014-04-02 16:49:38 -070019 android:id="@+id/dialtacts_mainlayout"
Chiao Cheng94b10b52012-08-17 16:59:12 -070020 android:layout_width="match_parent"
21 android:layout_height="match_parent"
Ihab Awad526c0b82014-02-27 12:55:36 -080022 android:orientation="vertical"
Yorke Lee86e21f72014-04-02 16:49:38 -070023 android:focusable="true"
Yorke Lee8898cd02013-08-08 10:24:27 -070024 android:focusableInTouchMode="true"
25 android:clipChildren="false"
Andrew Lee405a6e62014-08-20 15:02:16 -070026 android:background="@color/background_dialer_light">
27
Yorke Lee28aab272014-06-11 10:24:19 -070028 <FrameLayout
Ihab Awad526c0b82014-02-27 12:55:36 -080029 android:id="@+id/dialtacts_container"
Chiao Cheng94b10b52012-08-17 16:59:12 -070030 android:layout_width="match_parent"
Yorke Leea5d5cdf2014-04-22 17:20:00 -070031 android:layout_height="match_parent"
Yorke Lee86e21f72014-04-02 16:49:38 -070032 android:clipChildren="false">
33 <!-- The main contacts grid -->
34 <FrameLayout
Ihab Awad526c0b82014-02-27 12:55:36 -080035 android:layout_height="match_parent"
Yorke Lee86e21f72014-04-02 16:49:38 -070036 android:layout_width="match_parent"
37 android:id="@+id/dialtacts_frame"
Andrew Lee18963442014-06-06 17:20:13 -070038 android:clipChildren="false" />
Yorke Lee28aab272014-06-11 10:24:19 -070039 </FrameLayout>
Andrew Lee405a6e62014-08-20 15:02:16 -070040
Suchand Ghoshd0d53cd2014-09-15 10:44:02 +053041 <LinearLayout
Andrew Leea73e1892014-05-13 13:21:16 -070042 android:id="@+id/floating_action_button_container"
Andrew Lee405a6e62014-08-20 15:02:16 -070043 android:background="@drawable/fab_blue"
Suchand Ghoshd0d53cd2014-09-15 10:44:02 +053044 android:layout_width="wrap_content"
Andrew Leea73e1892014-05-13 13:21:16 -070045 android:layout_height="@dimen/floating_action_button_height"
Yorke Leea5d5cdf2014-04-22 17:20:00 -070046 android:layout_marginBottom="@dimen/floating_action_button_margin_bottom"
Suchand Ghoshd0d53cd2014-09-15 10:44:02 +053047 android:layout_gravity="center_horizontal|bottom">
48 <!-- app:layout_behavior="com.android.dialer.FloatingActionButtonBehavior" -->
Andrew Leea73e1892014-05-13 13:21:16 -070049
Ihab Awad526c0b82014-02-27 12:55:36 -080050 <ImageButton
Andrew Leea73e1892014-05-13 13:21:16 -070051 android:id="@+id/floating_action_button"
Yorke Leea5d5cdf2014-04-22 17:20:00 -070052 android:layout_width="match_parent"
Ihab Awad526c0b82014-02-27 12:55:36 -080053 android:layout_height="match_parent"
Suchand Ghoshd0d53cd2014-09-15 10:44:02 +053054 android:layout_gravity="bottom|left"
55 android:layout_weight="1"
56 android:background="@drawable/floating_action_button"
Ihab Awad526c0b82014-02-27 12:55:36 -080057 android:contentDescription="@string/action_menu_dialpad_button"
Andrew Leecb877642014-05-09 15:05:50 -070058 android:src="@drawable/fab_ic_dial"/>
Suchand Ghoshd0d53cd2014-09-15 10:44:02 +053059 <ImageButton
60 android:id="@+id/dialConferenceButton"
61 android:layout_width="match_parent"
62 android:layout_height="match_parent"
63 android:layout_gravity="bottom|right"
64 android:layout_weight="1"
c_yunong407a8942016-06-29 13:29:13 +080065 android:visibility="gone"
Suchand Ghoshd0d53cd2014-09-15 10:44:02 +053066 android:background="@drawable/floating_action_button"
67 android:contentDescription="@string/action_menu_dialpad_button"
68 android:src="@drawable/ic_add_group_holo_dark"/>
69 </LinearLayout>
Yorke Leef66cc042014-05-07 11:00:53 -070070 <!-- Host container for the contact tile drag shadow -->
71 <FrameLayout
Yorke Leec7b2a0e2014-05-20 17:21:25 -070072 android:id="@+id/activity_overlay"
Yorke Leef66cc042014-05-07 11:00:53 -070073 android:layout_height="match_parent"
74 android:layout_width="match_parent">
75 <ImageView
76 android:id="@+id/contact_tile_drag_shadow_overlay"
77 android:layout_width="wrap_content"
78 android:layout_height="wrap_content"
79 android:visibility="gone"
80 android:importantForAccessibility="no" />
81 </FrameLayout>
Andrew Lee405a6e62014-08-20 15:02:16 -070082
Nancy Chenf3d9f822015-09-11 00:47:31 -040083</android.support.design.widget.CoordinatorLayout>