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.SnapshotBar 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 android:layout_width="match_parent" 20 android:layout_height="wrap_content" 21 android:orientation="horizontal" 22 android:background="@drawable/bg_urlbar"> 23 <ImageView 24 android:src="@drawable/ic_search_category_history" 25 android:layout_width="wrap_content" 26 android:layout_height="match_parent" 27 android:paddingLeft="8dip" /> 28 <ImageView 29 android:id="@+id/favicon" 30 android:layout_width="52dip" 31 android:layout_height="match_parent" 32 android:paddingLeft="16dip" 33 android:paddingRight="16dip" 34 android:scaleType="fitCenter" /> 35 <FrameLayout 36 android:id="@+id/toggle_container" 37 android:layout_width="0dip" 38 android:layout_height="match_parent" 39 android:layout_weight="1"> 40 <TextView 41 android:id="@+id/title" 42 android:layout_width="match_parent" 43 android:layout_height="match_parent" 44 android:singleLine="true" 45 android:gravity="center_vertical" 46 android:textAppearance="?android:attr/textAppearanceMedium" /> 47 <TextView 48 android:id="@+id/date" 49 android:layout_width="wrap_content" 50 android:layout_height="match_parent" 51 android:singleLine="true" 52 android:gravity="center_vertical" 53 android:textAppearance="?android:attr/textAppearanceMedium" /> 54 </FrameLayout> 55 <ImageButton 56 android:id="@+id/tab_switcher" 57 android:layout_width="wrap_content" 58 android:layout_height="match_parent" 59 android:src="@drawable/ic_windows_holo_dark" 60 android:contentDescription="@string/accessibility_button_navscreen" 61 style="@style/HoloButton" /> 62 <ImageButton 63 android:id="@+id/more" 64 android:layout_width="wrap_content" 65 android:layout_height="match_parent" 66 style="@style/HoloButton" 67 android:gravity="center_vertical" 68 android:src="@*android:drawable/ic_menu_moreoverflow_normal_holo_dark" 69 android:contentDescription="@string/accessibility_button_more" /> 70 </com.android.browser.SnapshotBar> 71