blob: e2c3853640b1f10c7257d5478f8c79866ee7c525 [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"
Yorke Lee8898cd02013-08-08 10:24:27 -070034 android:id="@+id/search_view_container"
Yorke Lee3957b272013-09-30 18:35:23 -070035 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"
Yorke Leeaceb88b2013-10-14 17:18:01 -070065 android:padding="3dp"
Yorke Lee3957b272013-09-30 18:35:23 -070066 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" />
Yorke Lee8898cd02013-08-08 10:24:27 -070076 </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>
Yorke Lee41a24b42013-11-13 16:14:41 -080084 <View
85 android:layout_height="2dp"
86 android:layout_width="match_parent"
87 android:background="#33999999"
88 />
Yorke Leeb207f8a2013-08-29 18:51:06 -070089 <FrameLayout
Yorke Lee41a24b42013-11-13 16:14:41 -080090 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>
Yorke Lee8898cd02013-08-08 10:24:27 -0700119 <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>
Chiao Cheng94b10b52012-08-17 16:59:12 -0700125</FrameLayout>