1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2016 The Android Open Source Project 4 ~ 5 ~ Licensed under the Apache License, Version 2.0 (the "License"); 6 ~ you may not use this file except in compliance with the License. 7 ~ You may obtain a copy of the License at 8 ~ 9 ~ http://www.apache.org/licenses/LICENSE-2.0 10 ~ 11 ~ Unless required by applicable law or agreed to in writing, software 12 ~ distributed under the License is distributed on an "AS IS" BASIS, 13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 ~ See the License for the specific language governing permissions and 15 ~ limitations under the License 16 --> 17<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 18 android:id="@+id/search_row" 19 android:layout_width="match_parent" 20 android:layout_height="@dimen/search_row_height" 21 android:paddingStart="@dimen/search_row_padding_start" 22 android:paddingEnd="@dimen/overscan_horizontal" 23 android:paddingTop="@dimen/search_row_padding_top" 24 android:clipChildren="false" 25 android:clipToPadding="false" > 26 <ImageView 27 android:id="@+id/search_orb_voice" 28 android:layout_width="@dimen/search_item_size" 29 android:layout_height="@dimen/search_item_size" 30 android:background="@android:color/white" 31 android:clickable="true" 32 android:contentDescription="@string/search_click_to_speak" 33 android:elevation="@dimen/search_item_unfocused_z" 34 android:focusable="true" 35 android:focusedByDefault="true" 36 android:padding="@dimen/search_item_padding" 37 android:src="@drawable/ic_mic_color"/> 38 <ImageView 39 android:id="@+id/search_orb_keyboard" 40 android:layout_width="@dimen/search_item_size" 41 android:layout_height="@dimen/search_item_size" 42 android:layout_marginStart="@dimen/search_item_spacing" 43 android:background="@android:color/white" 44 android:clickable="true" 45 android:contentDescription="@string/search_click_to_type" 46 android:elevation="@dimen/search_item_unfocused_z" 47 android:focusable="true" 48 android:focusedByDefault="false" 49 android:padding="@dimen/search_item_padding" 50 android:src="@drawable/keyboard_search"/> 51 <TextView 52 android:id="@+id/search_text_voice" 53 android:layout_width="wrap_content" 54 android:layout_height="@dimen/search_item_size" 55 android:layout_marginStart="@dimen/search_label_spacing" 56 android:gravity="center_vertical" 57 android:text="@string/search_click_to_speak" 58 android:textColor="@android:color/white" 59 android:textSize="@dimen/search_label_text_size" 60 android:textStyle="italic"/> 61 <TextView 62 android:id="@+id/search_text_keyboard" 63 android:layout_width="wrap_content" 64 android:layout_height="@dimen/search_item_size" 65 android:layout_marginStart="@dimen/search_label_spacing" 66 android:gravity="center_vertical" 67 android:text="@string/search_click_to_type" 68 android:textColor="@android:color/white" 69 android:textSize="@dimen/search_label_text_size" 70 android:textStyle="italic"/> 71</LinearLayout> 72