Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
Yorke Lee | 8898cd0 | 2013-08-08 10:24:27 -0700 | [diff] [blame] | 2 | <!-- Copyright (C) 2013 The Android Open Source Project |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 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 | --> |
Yorke Lee | a5d5cdf | 2014-04-22 17:20:00 -0700 | [diff] [blame] | 16 | <RelativeLayout |
Yorke Lee | 8898cd0 | 2013-08-08 10:24:27 -0700 | [diff] [blame] | 17 | xmlns:android="http://schemas.android.com/apk/res/android" |
Yorke Lee | 86e21f7 | 2014-04-02 16:49:38 -0700 | [diff] [blame] | 18 | android:id="@+id/dialtacts_mainlayout" |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 19 | android:layout_width="match_parent" |
| 20 | android:layout_height="match_parent" |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame] | 21 | android:orientation="vertical" |
Yorke Lee | 86e21f7 | 2014-04-02 16:49:38 -0700 | [diff] [blame] | 22 | android:focusable="true" |
Yorke Lee | 8898cd0 | 2013-08-08 10:24:27 -0700 | [diff] [blame] | 23 | android:focusableInTouchMode="true" |
| 24 | android:clipChildren="false" |
Yorke Lee | cc4660d | 2014-04-24 11:22:57 -0700 | [diff] [blame] | 25 | android:animateLayoutChanges="true" |
Yorke Lee | 9e91bb0 | 2014-03-05 17:50:50 -0800 | [diff] [blame] | 26 | android:background="@color/background_dialer_light" |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 27 | > |
Yorke Lee | 86e21f7 | 2014-04-02 16:49:38 -0700 | [diff] [blame] | 28 | <RelativeLayout |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame] | 29 | android:id="@+id/dialtacts_container" |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 30 | android:layout_width="match_parent" |
Yorke Lee | a5d5cdf | 2014-04-22 17:20:00 -0700 | [diff] [blame] | 31 | android:layout_height="match_parent" |
Yorke Lee | 86e21f7 | 2014-04-02 16:49:38 -0700 | [diff] [blame] | 32 | android:clipChildren="false"> |
| 33 | <!-- The main contacts grid --> |
| 34 | <FrameLayout |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame] | 35 | android:layout_height="match_parent" |
Yorke Lee | 86e21f7 | 2014-04-02 16:49:38 -0700 | [diff] [blame] | 36 | android:layout_width="match_parent" |
| 37 | android:id="@+id/dialtacts_frame" |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame] | 38 | android:clipChildren="false" |
Yorke Lee | 86e21f7 | 2014-04-02 16:49:38 -0700 | [diff] [blame] | 39 | > |
| 40 | </FrameLayout> |
| 41 | <!-- Search entry box and remove view --> |
| 42 | <FrameLayout |
| 43 | android:layout_width="match_parent" |
| 44 | android:layout_height="wrap_content" |
| 45 | android:layout_alignParentTop="true" |
| 46 | android:id="@+id/search_and_remove_view_container" |
| 47 | android:visibility="gone" |
| 48 | > |
Yorke Lee | 86e21f7 | 2014-04-02 16:49:38 -0700 | [diff] [blame] | 49 | </FrameLayout> |
| 50 | </RelativeLayout> |
Yorke Lee | 2826619 | 2014-05-01 10:05:52 -0700 | [diff] [blame] | 51 | <com.android.dialer.list.RemoveView |
| 52 | android:layout_width="match_parent" |
| 53 | android:layout_height="56dp" |
| 54 | android:id="@+id/remove_view" |
| 55 | android:layout_alignParentTop="true" |
| 56 | > |
| 57 | <LinearLayout |
| 58 | android:id="@+id/remove_view_container" |
| 59 | android:layout_height="match_parent" |
| 60 | android:layout_width="match_parent" |
| 61 | android:gravity="center" |
Yorke Lee | 50e77a1 | 2014-05-07 11:31:57 -0700 | [diff] [blame] | 62 | android:orientation="horizontal" |
| 63 | android:visibility="gone" > |
Yorke Lee | 2826619 | 2014-05-01 10:05:52 -0700 | [diff] [blame] | 64 | <ImageView |
| 65 | android:layout_width="wrap_content" |
| 66 | android:layout_height="wrap_content" |
| 67 | android:id="@+id/remove_view_icon" |
| 68 | android:src="@drawable/ic_remove" |
| 69 | android:contentDescription="@string/remove_contact" |
| 70 | /> |
| 71 | <TextView |
| 72 | android:layout_width="wrap_content" |
| 73 | android:layout_height="wrap_content" |
| 74 | android:id="@+id/remove_view_text" |
| 75 | android:textSize="@dimen/remove_text_size" |
| 76 | android:textColor="@color/remove_text_color" |
| 77 | android:text="@string/remove_contact" |
| 78 | /> |
| 79 | </LinearLayout> |
| 80 | </com.android.dialer.list.RemoveView > |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame] | 81 | <FrameLayout |
Andrew Lee | a73e189 | 2014-05-13 13:21:16 -0700 | [diff] [blame] | 82 | android:id="@+id/floating_action_button_container" |
Yorke Lee | a5d5cdf | 2014-04-22 17:20:00 -0700 | [diff] [blame] | 83 | android:layout_width="@dimen/floating_action_button_width" |
Andrew Lee | a73e189 | 2014-05-13 13:21:16 -0700 | [diff] [blame] | 84 | android:layout_height="@dimen/floating_action_button_height" |
Yorke Lee | cc4660d | 2014-04-24 11:22:57 -0700 | [diff] [blame] | 85 | android:layout_marginRight="@dimen/floating_action_button_margin_right" |
Yorke Lee | a5d5cdf | 2014-04-22 17:20:00 -0700 | [diff] [blame] | 86 | android:layout_marginBottom="@dimen/floating_action_button_margin_bottom" |
Yorke Lee | a5d5cdf | 2014-04-22 17:20:00 -0700 | [diff] [blame] | 87 | android:layout_centerHorizontal="true" |
Andrew Lee | 8d62368 | 2014-05-09 16:44:56 -0700 | [diff] [blame] | 88 | android:layout_alignParentBottom="true"> |
Andrew Lee | a73e189 | 2014-05-13 13:21:16 -0700 | [diff] [blame] | 89 | |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame] | 90 | <ImageButton |
Andrew Lee | a73e189 | 2014-05-13 13:21:16 -0700 | [diff] [blame] | 91 | android:id="@+id/floating_action_button" |
Yorke Lee | a5d5cdf | 2014-04-22 17:20:00 -0700 | [diff] [blame] | 92 | android:layout_width="match_parent" |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame] | 93 | android:layout_height="match_parent" |
Andrew Lee | a73e189 | 2014-05-13 13:21:16 -0700 | [diff] [blame] | 94 | android:background="@drawable/floating_action_button" |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame] | 95 | android:contentDescription="@string/action_menu_dialpad_button" |
Andrew Lee | cb87764 | 2014-05-09 15:05:50 -0700 | [diff] [blame] | 96 | android:src="@drawable/fab_ic_dial"/> |
Andrew Lee | a73e189 | 2014-05-13 13:21:16 -0700 | [diff] [blame] | 97 | |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame] | 98 | </FrameLayout> |
Yorke Lee | f66cc04 | 2014-05-07 11:00:53 -0700 | [diff] [blame] | 99 | <!-- Host container for the contact tile drag shadow --> |
| 100 | <FrameLayout |
| 101 | android:layout_height="match_parent" |
| 102 | android:layout_width="match_parent"> |
| 103 | <ImageView |
| 104 | android:id="@+id/contact_tile_drag_shadow_overlay" |
| 105 | android:layout_width="wrap_content" |
| 106 | android:layout_height="wrap_content" |
| 107 | android:visibility="gone" |
| 108 | android:importantForAccessibility="no" /> |
| 109 | </FrameLayout> |
Yorke Lee | a5d5cdf | 2014-04-22 17:20:00 -0700 | [diff] [blame] | 110 | </RelativeLayout> |