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