blob: 9d63514c164bd5807212e1fc9be601989a5ebd90 [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>
66 <FrameLayout
67 android:layout_height="0dp"
68 android:layout_weight="1"
69 android:layout_width="match_parent"
70 android:id="@+id/dialtacts_frame"
71 android:clipChildren="false">
72 </FrameLayout>
Yorke Leeb207f8a2013-08-29 18:51:06 -070073 <FrameLayout
74 android:layout_height="@dimen/fake_action_bar_height"
75 android:layout_width="match_parent"
76 android:id="@+id/fake_action_bar"
77 android:background="@color/actionbar_background_color">
78 <ImageButton
79 android:id="@+id/call_history_button"
80 android:layout_width="@dimen/fake_menu_button_min_width"
81 android:layout_height="match_parent"
82 android:layout_gravity="bottom|start"
83 android:background="?android:attr/selectableItemBackground"
84 android:contentDescription="@string/action_menu_call_history_description"
85 android:src="@drawable/ic_menu_history_dk"/>
86 <ImageButton
87 android:id="@+id/dialpad_button"
88 android:layout_width="@dimen/fake_menu_button_min_width"
89 android:layout_height="match_parent"
90 android:layout_gravity="bottom|center"
91 android:background="?android:attr/selectableItemBackground"
92 android:contentDescription="@string/action_menu_dialpad_button"
93 android:src="@drawable/ic_menu_dialpad_dk"/>
94 <ImageButton
95 android:id="@+id/overflow_menu"
96 android:layout_width="@dimen/fake_menu_button_min_width"
97 android:layout_height="match_parent"
98 android:layout_gravity="bottom|end"
99 android:src="@drawable/ic_menu_overflow_dk"
100 android:contentDescription="@string/action_menu_overflow_description"
101 android:background="?android:attr/selectableItemBackground"/>
102 </FrameLayout>
Yorke Lee8898cd02013-08-08 10:24:27 -0700103 <View
104 android:id="@+id/dialtacts_bottom_padding"
105 android:layout_width="match_parent"
106 android:layout_height="?android:attr/actionBarSize"
107 android:visibility="gone" />
108 </LinearLayout>
Chiao Cheng94b10b52012-08-17 16:59:12 -0700109</FrameLayout>