blob: b9d417b36e3bf2e1af14d082bfd737d900154bc9 [file] [log] [blame]
Yorke Lee6b049122013-07-16 10:38:02 -07001<?xml version="1.0" encoding="utf-8"?>
Yorke Leedfb2eee2013-06-26 18:24:32 -07002<!-- Copyright (C) 2013 The Android Open Source Project
Yorke Lee6b049122013-07-16 10:38:02 -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 Leedfb2eee2013-06-26 18:24:32 -070016<FrameLayout
17 xmlns:android="http://schemas.android.com/apk/res/android"
Yorke Lee6b049122013-07-16 10:38:02 -070018 android:layout_width="match_parent"
19 android:layout_height="match_parent"
Yorke Leedfb2eee2013-06-26 18:24:32 -070020 android:focusable="true"
21 android:focusableInTouchMode="true"
22 android:clipChildren="false"
23 android:id="@+id/dialtacts_container"
Yorke Lee6b049122013-07-16 10:38:02 -070024 >
Yorke Leed9999322013-07-19 09:22:03 -070025 <!-- Overlapping dialpad fragment is inserted here -->
Yorke Leedfb2eee2013-06-26 18:24:32 -070026 <LinearLayout
Yorke Lee6b049122013-07-16 10:38:02 -070027 android:layout_width="match_parent"
Yorke Leedfb2eee2013-06-26 18:24:32 -070028 android:layout_height="match_parent"
29 android:clipChildren="false"
30 android:orientation="vertical" >
Yorke Leed9999322013-07-19 09:22:03 -070031 <LinearLayout
Yorke Leedfb2eee2013-06-26 18:24:32 -070032 android:layout_width="match_parent"
Yorke Leed9999322013-07-19 09:22:03 -070033 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"
45 android:inputType="textFilter"/>
46 <ImageView
47 android:id="@+id/search_close_button"
48 android:layout_height="40dp"
49 android:layout_width="40dp"
50 android:padding="6dp"
51 android:src="@drawable/ic_close_dk"
Yorke Lee191df332013-07-30 17:21:28 -070052 android:clickable="true"
Yorke Leed9999322013-07-19 09:22:03 -070053 android:background="?android:attr/selectableItemBackground"
54 android:visibility="gone" />
Yorke Lee191df332013-07-30 17:21:28 -070055 <ImageView
56 android:id="@+id/voice_search_button"
57 android:layout_height="40dp"
58 android:layout_width="40dp"
59 android:padding="6dp"
60 android:src="@drawable/ic_voice_search"
61 android:clickable="true"
62 android:contentDescription="@string/description_start_voice_search"
63 android:background="?android:attr/selectableItemBackground" />
Yorke Leed9999322013-07-19 09:22:03 -070064 </LinearLayout>
Yorke Leedfb2eee2013-06-26 18:24:32 -070065 <FrameLayout
66 android:layout_height="0dp"
67 android:layout_weight="1"
68 android:layout_width="match_parent"
69 android:id="@id/dialtacts_frame"
70 android:clipChildren="false">
71 </FrameLayout>
72 <View
73 android:id="@+id/dialtacts_bottom_padding"
74 android:layout_width="match_parent"
75 android:layout_height="?android:attr/actionBarSize"
76 android:visibility="gone" />
77 </LinearLayout>
Yorke Lee6b049122013-07-16 10:38:02 -070078</FrameLayout>