blob: c53f426408966919d1e1f2fd6236ccd5046d5adf [file] [log] [blame]
Jin Caoc6801eb2014-08-12 18:16:57 -07001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 Copyright (C) 2014 Google Inc.
4 Licensed to The Android Open Source Project.
5
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17-->
18
19<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
20 android:layout_width="match_parent"
Jin Cao63506812014-08-27 13:48:09 -070021 android:layout_height="wrap_content"
22 android:paddingTop="@dimen/search_suggestion_padding"
23 android:paddingBottom="@dimen/search_suggestion_padding">
Jin Caoc6801eb2014-08-12 18:16:57 -070024
Jin Cao63506812014-08-27 13:48:09 -070025 <ImageView
26 android:id="@+id/search_overlay_item_icon"
27 android:layout_width="@dimen/search_leading_button_width"
28 android:layout_height="wrap_content"
Jin Caod19d4022014-09-01 22:18:29 -070029 android:paddingLeft="@dimen/search_button_padding"
30 android:paddingRight="@dimen/search_button_padding"
31 android:scaleType="center" />
Jin Caoc6801eb2014-08-12 18:16:57 -070032
Jin Cao63506812014-08-27 13:48:09 -070033 <TextView
34 android:id="@+id/search_overlay_item_text"
35 android:layout_width="0dp"
36 android:layout_height="wrap_content"
Jin Caod19d4022014-09-01 22:18:29 -070037 android:layout_gravity="center_vertical|start"
Jin Cao63506812014-08-27 13:48:09 -070038 android:layout_weight="1"
Jin Caod19d4022014-09-01 22:18:29 -070039 android:paddingLeft="@dimen/search_main_text_padding"
40 android:paddingRight="@dimen/search_main_text_padding"
41 android:textAlignment="viewStart"
Jin Cao63506812014-08-27 13:48:09 -070042 android:textColor="@color/search_suggestion_item_text"
Jin Caod19d4022014-09-01 22:18:29 -070043 android:textSize="16sp" />
Jin Caoc6801eb2014-08-12 18:16:57 -070044
45</LinearLayout>