Home | History | Annotate | Download | only in layout
      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     <ImageButton
     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         style="@style/HoloButton" />
     36     <FrameLayout
     37         android:id="@+id/toggle_container"
     38         android:layout_width="0dip"
     39         android:layout_height="match_parent"
     40         android:layout_weight="1">
     41         <TextView
     42             android:id="@+id/title"
     43             android:layout_width="match_parent"
     44             android:layout_height="match_parent"
     45             android:singleLine="true"
     46             android:gravity="center_vertical"
     47             android:textAppearance="?android:attr/textAppearanceMedium" />
     48         <TextView
     49             android:id="@+id/date"
     50             android:layout_width="wrap_content"
     51             android:layout_height="match_parent"
     52             android:singleLine="true"
     53             android:gravity="center_vertical"
     54             android:textAppearance="?android:attr/textAppearanceMedium" />
     55     </FrameLayout>
     56     <ImageButton
     57         android:id="@+id/tab_switcher"
     58         android:layout_width="wrap_content"
     59         android:layout_height="match_parent"
     60         android:src="@drawable/ic_windows_holo_dark"
     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 </com.android.browser.SnapshotBar>
     70