1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright 2011, 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<com.android.browser.NavigationBarPhone 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 android:orientation="horizontal" 20 android:background="@drawable/bg_urlbar"> 21 <LinearLayout 22 android:id="@+id/title_bg" 23 android:layout_width="0dip" 24 android:layout_weight="1.0" 25 android:layout_height="match_parent" 26 android:gravity="center_vertical" 27 android:layout_marginLeft="8dip" 28 android:layout_marginRight="8dip" 29 android:orientation="horizontal"> 30 <ImageView 31 android:id="@+id/magnify" 32 android:layout_width="wrap_content" 33 android:layout_height="wrap_content" 34 android:paddingLeft="4dip" 35 android:paddingRight="8dip" 36 android:visibility="gone" 37 android:src="@drawable/ic_search_category_suggest" /> 38 <ImageView 39 android:id="@+id/incognito_icon" 40 android:layout_width="wrap_content" 41 android:layout_height="wrap_content" 42 android:paddingLeft="4dip" 43 android:visibility="gone" 44 android:src="@drawable/ic_incognito_holo_dark" /> 45 <FrameLayout 46 android:id="@+id/iconcombo" 47 android:layout_width="44dip" 48 android:layout_height="match_parent" 49 android:contentDescription="@string/page_info" 50 style="@style/HoloButton"> 51 <ImageView 52 android:id="@+id/favicon" 53 android:layout_width="32dip" 54 android:layout_height="32dip" 55 android:paddingLeft="4dip" 56 android:paddingRight="8dip" 57 android:layout_gravity="center" /> 58 <ImageView 59 android:id="@+id/lock" 60 android:layout_width="32dip" 61 android:layout_height="32dip" 62 android:layout_gravity="center" 63 android:visibility="gone" /> 64 </FrameLayout> 65 <ImageView 66 android:id="@+id/stop" 67 android:layout_width="wrap_content" 68 android:layout_height="wrap_content" 69 android:layout_gravity="center_vertical" 70 android:paddingLeft="4dip" 71 android:contentDescription="@string/accessibility_button_stop" 72 android:src="@drawable/ic_stop_holo_dark" 73 style="@style/HoloButton" /> 74 <com.android.browser.UrlInputView 75 android:id="@+id/url" 76 android:focusable="true" 77 android:layout_width="0dip" 78 android:layout_weight="1.0" 79 android:layout_height="match_parent" 80 android:fadingEdge="horizontal" 81 android:fadingEdgeLength="24dip" 82 android:textAppearance="?android:attr/textAppearanceMedium" 83 android:hint="@string/search_hint" 84 android:singleLine="true" 85 android:ellipsize="end" 86 android:lines="1" 87 android:scrollHorizontally="true" 88 android:inputType="textUri" 89 android:imeOptions="actionGo|flagNoExtractUi|flagNoFullscreen" 90 style="@style/Suggestions" 91 android:background="@null" /> 92 <ImageView 93 android:id="@+id/voice" 94 android:layout_width="wrap_content" 95 android:layout_height="match_parent" 96 android:paddingRight="4dip" 97 android:contentDescription="@string/accessibility_button_voice" 98 android:src="@drawable/ic_voice_search_holo_dark" 99 style="@style/HoloButton" 100 android:visibility="gone" /> 101 <ImageView 102 android:id="@+id/clear" 103 android:layout_width="wrap_content" 104 android:layout_height="match_parent" 105 android:paddingRight="4dip" 106 android:contentDescription="@string/accessibility_button_clear" 107 android:src="@drawable/ic_close_window_holo_dark" 108 style="@style/HoloButton" 109 android:visibility="gone" /> 110 </LinearLayout> 111 <ImageButton 112 android:id="@+id/tab_switcher" 113 android:layout_width="wrap_content" 114 android:layout_height="match_parent" 115 android:contentDescription="@string/accessibility_button_navscreen" 116 android:src="@drawable/ic_windows_holo_dark" 117 style="@style/HoloButton" /> 118 <ImageButton 119 android:id="@+id/more" 120 android:layout_width="wrap_content" 121 android:layout_height="match_parent" 122 style="@style/HoloButton" 123 android:gravity="center_vertical" 124 android:contentDescription="@string/accessibility_button_more" 125 android:src="@drawable/ic_menu_overflow" /> 126</com.android.browser.NavigationBarPhone> 127