Home | History | Annotate | Download | only in layout-sw600dp
      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.NavigationBarTablet
     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/navbuttons"
     23         android:layout_width="wrap_content"
     24         android:layout_height="match_parent"
     25         android:orientation="horizontal">
     26         <ImageButton
     27             android:id="@+id/back"
     28             android:src="@drawable/ic_back_holo_dark"
     29             android:layout_width="wrap_content"
     30             android:layout_height="match_parent"
     31             android:contentDescription="@string/accessibility_button_back"
     32             style="@style/HoloButton" />
     33         <ImageButton
     34             android:id="@+id/forward"
     35             android:src="@drawable/ic_forward_holo_dark"
     36             android:layout_width="wrap_content"
     37             android:layout_height="match_parent"
     38             android:contentDescription="@string/accessibility_button_forward"
     39             style="@style/HoloButton" />
     40         <ImageButton
     41             android:id="@+id/stop"
     42             android:layout_width="wrap_content"
     43             android:layout_height="match_parent"
     44             style="@style/HoloButton"
     45             android:gravity="center_vertical"
     46             android:contentDescription="@string/accessibility_button_stop"
     47             android:src="@drawable/ic_stop_holo_dark" />
     48     </LinearLayout>
     49     <LinearLayout
     50         android:id="@+id/urlbar_focused"
     51         android:layout_width="0dip"
     52         android:layout_height="match_parent"
     53         android:layout_weight="1.0"
     54         android:orientation="horizontal"
     55         android:background="@drawable/url_background">
     56         <ImageView
     57             android:id="@+id/url_icon"
     58             android:layout_width="32dip"
     59             android:layout_height="20dip"
     60             android:src="@drawable/ic_web_holo_dark"
     61             android:layout_gravity="center" />
     62         <ImageView
     63             android:id="@+id/lock"
     64             android:layout_width="wrap_content"
     65             android:layout_height="wrap_content"
     66             android:layout_gravity="center_vertical"
     67             android:layout_marginLeft="0dip"
     68             style="@style/HoloIcon"
     69             android:visibility="gone" />
     70         <com.android.browser.UrlInputView
     71             android:id="@+id/url"
     72             android:layout_width="0dip"
     73             android:layout_weight="1.0"
     74             android:layout_height="match_parent"
     75             android:paddingLeft="4dip"
     76             android:paddingRight="0dip"
     77             android:background="@null"
     78             android:textAppearance="?android:attr/textAppearanceMedium"
     79             android:hint="@string/search_hint"
     80             android:singleLine="true"
     81             android:ellipsize="end"
     82             android:lines="1"
     83             android:scrollHorizontally="true"
     84             android:inputType="textUri"
     85             android:imeOptions="actionGo|flagNoExtractUi|flagNoFullscreen"
     86             style="@style/Suggestions" />
     87         <ImageButton
     88             android:id="@+id/star"
     89             android:src="@drawable/btn_imageview_star"
     90             android:layout_width="wrap_content"
     91             android:layout_height="match_parent"
     92             android:contentDescription="@string/accessibility_button_addbookmark"
     93             style="@style/HoloButton" />
     94         <ImageButton
     95             android:id="@+id/clear"
     96             android:src="@drawable/ic_stop_holo_dark"
     97             android:layout_width="wrap_content"
     98             android:layout_height="match_parent"
     99             android:contentDescription="@string/accessibility_button_clear"
    100             style="@style/HoloButton" />
    101         <ImageButton
    102             android:id="@+id/voice"
    103             android:src="@drawable/ic_voice_search_holo_dark"
    104             android:layout_width="wrap_content"
    105             android:layout_height="match_parent"
    106             android:contentDescription="@string/accessibility_button_voice"
    107             style="@style/HoloButton" />
    108         </LinearLayout>
    109     <ImageButton
    110         android:id="@+id/search"
    111         android:src="@drawable/ic_search_holo_dark"
    112         android:layout_width="wrap_content"
    113         android:layout_height="match_parent"
    114         android:gravity="center_vertical"
    115             android:contentDescription="@string/accessibility_button_search"
    116         style="@style/HoloButton" />
    117     <ImageButton
    118         android:id="@+id/all_btn"
    119         android:layout_width="wrap_content"
    120         android:layout_height="match_parent"
    121         android:scaleType="center"
    122         style="@style/HoloButton"
    123         android:contentDescription="@string/accessibility_button_bookmarks"
    124         android:src="@drawable/ic_bookmarks_history_holo_dark" />
    125 </com.android.browser.NavigationBarTablet>
    126