Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2     <!--
      3         Copyright 2010, The Android Open Source Project Licensed under the
      4         Apache License, Version 2.0 (the "License"); you may not use this file
      5         except in compliance with the License. You may obtain a copy of the
      6         License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by
      7         applicable law or agreed to in writing, software distributed under the
      8         License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
      9         CONDITIONS OF ANY KIND, either express or implied. See the License for
     10         the specific language governing permissions and limitations under the
     11         License.
     12     -->
     13 <merge
     14     xmlns:android="http://schemas.android.com/apk/res/android"
     15     android:layout_width="wrap_content"
     16     android:layout_height="match_parent"
     17     android:gravity="center_vertical"
     18     android:orientation="horizontal">
     19     <ImageView
     20         android:id="@+id/incognito"
     21         android:layout_width="wrap_content"
     22         android:layout_height="match_parent"
     23         android:gravity="center_vertical"
     24         android:src="@drawable/ic_incognito_holo_dark"
     25         android:contentDescription="@string/accessibility_state_incognito"
     26         android:visibility="gone" />
     27     <ImageView
     28         android:id="@+id/snapshot"
     29         android:layout_width="wrap_content"
     30         android:layout_height="match_parent"
     31         android:gravity="center_vertical"
     32         android:src="@drawable/ic_search_category_history"
     33             android:contentDescription="@string/accessibility_state_frozen"
     34         android:visibility="gone" />
     35     <ImageView
     36         android:id="@+id/favicon"
     37         android:layout_width="20dip"
     38         android:layout_height="20dip"
     39         android:layout_marginLeft="8dip"
     40         android:layout_marginRight="8dip" />
     41     <ImageView
     42         android:id="@+id/lock"
     43         android:layout_width="wrap_content"
     44         android:layout_height="wrap_content"
     45         android:visibility="gone" />
     46     <TextView
     47         android:id="@+id/title"
     48         android:layout_height="match_parent"
     49         android:layout_width="0dip"
     50         android:layout_weight="1.0"
     51         android:paddingLeft="8dip"
     52         android:paddingRight="8dip"
     53         android:textAppearance="?android:attr/textAppearanceSmall"
     54         android:textColor="@color/white"
     55         android:gravity="center_vertical"
     56         android:scrollHorizontally="true"
     57         android:lines="1"
     58         android:singleLine="true" />
     59     <ImageButton
     60         android:id="@+id/close"
     61         android:background="?android:attr/selectableItemBackground"
     62         android:layout_width="wrap_content"
     63         android:layout_height="wrap_content"
     64         android:contentDescription="@string/accessibility_button_closetab"
     65         android:src="@drawable/ic_tab_close" />
     66 </merge>
     67