blob: fe1e644b0ea6129d0d436c7a8611ae301cc6f615 [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-->
Yorke Lee8898cd02013-08-08 10:24:27 -070016<FrameLayout
17 xmlns:android="http://schemas.android.com/apk/res/android"
Chiao Cheng94b10b52012-08-17 16:59:12 -070018 android:layout_width="match_parent"
19 android:layout_height="match_parent"
Yorke Lee8898cd02013-08-08 10:24:27 -070020 android:focusable="true"
21 android:focusableInTouchMode="true"
22 android:clipChildren="false"
23 android:id="@+id/dialtacts_container"
Chiao Cheng94b10b52012-08-17 16:59:12 -070024 >
Yorke Lee8898cd02013-08-08 10:24:27 -070025 <!-- Overlapping dialpad fragment is inserted here -->
26 <LinearLayout
Chiao Cheng94b10b52012-08-17 16:59:12 -070027 android:layout_width="match_parent"
Yorke Lee8898cd02013-08-08 10:24:27 -070028 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:paddingLeft="16dp"
35 android:paddingRight="23dp"
36 android:id="@+id/search_view_container"
37 android:background="@color/searchbox_background_color"
38 android:orientation="horizontal"
39 android:gravity="center_vertical">
40 <EditText
41 android:id="@+id/search_view"
42 android:layout_width="0dp"
43 android:layout_height="56dp"
44 android:layout_weight="1"
Yorke Leeb8528262013-09-09 17:04:57 -070045 android:textSize="@dimen/search_text_size"
Yorke Lee8898cd02013-08-08 10:24:27 -070046 android:inputType="textFilter"/>
47 <ImageView
48 android:id="@+id/search_close_button"
49 android:layout_height="40dp"
50 android:layout_width="40dp"
51 android:padding="6dp"
52 android:src="@drawable/ic_close_dk"
53 android:clickable="true"
54 android:background="?android:attr/selectableItemBackground"
55 android:visibility="gone" />
56 <ImageView
57 android:id="@+id/voice_search_button"
58 android:layout_height="40dp"
59 android:layout_width="40dp"
60 android:padding="6dp"
61 android:src="@drawable/ic_voice_search"
62 android:clickable="true"
63 android:contentDescription="@string/description_start_voice_search"
64 android:background="?android:attr/selectableItemBackground" />
65 </LinearLayout>
Christine Chen4fdf5942013-09-24 17:42:32 -070066 <View
67 android:id="@+id/searchbox_divider"
68 android:layout_height="1dp"
69 android:layout_width="match_parent"
70 android:background="@color/background_dialer_light" />
Yorke Lee8898cd02013-08-08 10:24:27 -070071 <FrameLayout
72 android:layout_height="0dp"
73 android:layout_weight="1"
74 android:layout_width="match_parent"
75 android:id="@+id/dialtacts_frame"
76 android:clipChildren="false">
77 </FrameLayout>
Yorke Leeb207f8a2013-08-29 18:51:06 -070078 <FrameLayout
79 android:layout_height="@dimen/fake_action_bar_height"
80 android:layout_width="match_parent"
81 android:id="@+id/fake_action_bar"
82 android:background="@color/actionbar_background_color">
83 <ImageButton
84 android:id="@+id/call_history_button"
85 android:layout_width="@dimen/fake_menu_button_min_width"
86 android:layout_height="match_parent"
87 android:layout_gravity="bottom|start"
88 android:background="?android:attr/selectableItemBackground"
89 android:contentDescription="@string/action_menu_call_history_description"
90 android:src="@drawable/ic_menu_history_dk"/>
91 <ImageButton
92 android:id="@+id/dialpad_button"
93 android:layout_width="@dimen/fake_menu_button_min_width"
94 android:layout_height="match_parent"
95 android:layout_gravity="bottom|center"
96 android:background="?android:attr/selectableItemBackground"
97 android:contentDescription="@string/action_menu_dialpad_button"
98 android:src="@drawable/ic_menu_dialpad_dk"/>
99 <ImageButton
100 android:id="@+id/overflow_menu"
101 android:layout_width="@dimen/fake_menu_button_min_width"
102 android:layout_height="match_parent"
103 android:layout_gravity="bottom|end"
104 android:src="@drawable/ic_menu_overflow_dk"
105 android:contentDescription="@string/action_menu_overflow_description"
106 android:background="?android:attr/selectableItemBackground"/>
107 </FrameLayout>
Yorke Lee8898cd02013-08-08 10:24:27 -0700108 <View
109 android:id="@+id/dialtacts_bottom_padding"
110 android:layout_width="match_parent"
111 android:layout_height="?android:attr/actionBarSize"
112 android:visibility="gone" />
113 </LinearLayout>
Chiao Cheng94b10b52012-08-17 16:59:12 -0700114</FrameLayout>