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:layout_width="match_parent" 19 android:layout_height="match_parent" 20 android:focusable="true" 21 android:focusableInTouchMode="true" 22 android:clipChildren="false" 23 android:id="@+id/dialtacts_container" 24 > 25 <!-- Overlapping dialpad fragment is inserted here --> 26 <LinearLayout 27 android:layout_width="match_parent" 28 android:layout_height="match_parent" 29 android:clipChildren="false" 30 android:orientation="vertical" > 31 <LinearLayout 32 android:layout_width="match_parent" 33 android:layout_height="wrap_content" 34 android:id="@+id/search_view_container" 35 android:orientation="vertical" 36 > 37 <LinearLayout 38 android:layout_width="match_parent" 39 android:layout_height="match_parent" 40 android:orientation="horizontal" 41 android:paddingLeft="16dp" 42 android:paddingRight="23dp" 43 android:background="@color/searchbox_background_color" 44 android:gravity="center_vertical"> 45 <EditText 46 android:id="@+id/search_view" 47 android:layout_width="0dp" 48 android:layout_height="56dp" 49 android:layout_weight="1" 50 android:textSize="@dimen/search_text_size" 51 android:inputType="textFilter"/> 52 <ImageView 53 android:id="@+id/search_close_button" 54 android:layout_height="40dp" 55 android:layout_width="40dp" 56 android:padding="6dp" 57 android:src="@drawable/ic_close_dk" 58 android:clickable="true" 59 android:background="?android:attr/selectableItemBackground" 60 android:visibility="gone" /> 61 <ImageView 62 android:id="@+id/voice_search_button" 63 android:layout_height="40dp" 64 android:layout_width="40dp" 65 android:padding="3dp" 66 android:src="@drawable/ic_voice_search" 67 android:clickable="true" 68 android:contentDescription="@string/description_start_voice_search" 69 android:background="?android:attr/selectableItemBackground" /> 70 </LinearLayout> 71 <View 72 android:id="@+id/searchbox_divider" 73 android:layout_height="1dp" 74 android:layout_width="match_parent" 75 android:background="@color/background_dialer_light" /> 76 </LinearLayout> 77 <FrameLayout 78 android:layout_height="0dp" 79 android:layout_weight="1" 80 android:layout_width="match_parent" 81 android:id="@+id/dialtacts_frame" 82 android:clipChildren="false"> 83 </FrameLayout> 84 <View 85 android:layout_height="2dp" 86 android:layout_width="match_parent" 87 android:background="#33999999" 88 /> 89 <FrameLayout 90 android:layout_height="@dimen/fake_action_bar_height" 91 android:layout_width="match_parent" 92 android:id="@+id/fake_action_bar" 93 android:background="@color/actionbar_background_color"> 94 <ImageButton 95 android:id="@+id/call_history_button" 96 android:layout_width="@dimen/fake_menu_button_min_width" 97 android:layout_height="match_parent" 98 android:layout_gravity="bottom|start" 99 android:background="?android:attr/selectableItemBackground" 100 android:contentDescription="@string/action_menu_call_history_description" 101 android:src="@drawable/ic_menu_history_dk"/> 102 <ImageButton 103 android:id="@+id/dialpad_button" 104 android:layout_width="@dimen/fake_menu_button_min_width" 105 android:layout_height="match_parent" 106 android:layout_gravity="bottom|center" 107 android:background="?android:attr/selectableItemBackground" 108 android:contentDescription="@string/action_menu_dialpad_button" 109 android:src="@drawable/ic_menu_dialpad_dk"/> 110 <ImageButton 111 android:id="@+id/overflow_menu" 112 android:layout_width="@dimen/fake_menu_button_min_width" 113 android:layout_height="match_parent" 114 android:layout_gravity="bottom|end" 115 android:src="@drawable/ic_menu_overflow_dk" 116 android:contentDescription="@string/action_menu_overflow_description" 117 android:background="?android:attr/selectableItemBackground"/> 118 </FrameLayout> 119 <View 120 android:id="@+id/dialtacts_bottom_padding" 121 android:layout_width="match_parent" 122 android:layout_height="?android:attr/actionBarSize" 123 android:visibility="gone" /> 124 </LinearLayout> 125 </FrameLayout> 126