mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 22:25:30 +00:00
fb93405e73
--HG-- rename : mobile/android/base/resources/drawable/tabs_full_button.xml => mobile/android/base/resources/drawable/tabs_button.xml rename : mobile/android/base/resources/layout-land-v14/browser_toolbar.xml => mobile/android/base/resources/layout-land-v14/browser_toolbar.xml.in rename : mobile/android/base/resources/layout-land-v14/browser_toolbar_menu.xml => mobile/android/base/resources/layout-land-v14/browser_toolbar_menu.xml.in rename : mobile/android/base/resources/layout-large-v11/browser_toolbar_menu.xml => mobile/android/base/resources/layout-large-v11/browser_toolbar_menu.xml.in rename : mobile/android/base/resources/layout-xlarge-v11/awesomebar_search.xml => mobile/android/base/resources/layout-xlarge-v11/awesomebar_search.xml.in rename : mobile/android/base/resources/layout-xlarge-v11/browser_toolbar_menu.xml => mobile/android/base/resources/layout-xlarge-v11/browser_toolbar_menu.xml.in rename : mobile/android/base/resources/layout/browser_toolbar.xml => mobile/android/base/resources/layout/browser_toolbar.xml.in rename : mobile/android/base/resources/layout/browser_toolbar_menu.xml => mobile/android/base/resources/layout/browser_toolbar_menu.xml.in extra : rebase_source : 13ec55b2f121e056f1ce545bee556aebe3ca953e
58 lines
2.6 KiB
XML
58 lines
2.6 KiB
XML
#filter substitution
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
|
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:gecko="http://schemas.android.com/apk/res/@ANDROID_PACKAGE_NAME@"
|
|
style="@style/AwesomeBar"
|
|
android:background="@drawable/address_bar_bg">
|
|
|
|
<org.mozilla.gecko.TabsButton android:id="@+id/dummy_tab"
|
|
style="@style/AddressBar.ImageButton"
|
|
android:layout_width="84dip"
|
|
android:layout_alignParentLeft="true"
|
|
gecko:curveTowards="left"
|
|
gecko:cropped="true"
|
|
android:background="@drawable/tabs_button"
|
|
android:gravity="center_vertical"/>
|
|
|
|
<view class="org.mozilla.gecko.CustomEditText"
|
|
android:id="@+id/awesomebar_text"
|
|
style="@style/AddressBar.Button"
|
|
android:background="@drawable/address_bar_url"
|
|
android:layout_marginLeft="0dip"
|
|
android:layout_marginRight="56dip"
|
|
android:layout_marginTop="6dip"
|
|
android:layout_marginBottom="6dip"
|
|
android:layout_toRightOf="@id/dummy_tab"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_centerVertical="true"
|
|
android:paddingLeft="15dip"
|
|
android:paddingRight="40dip"
|
|
android:hint="@string/awesomebar_default_text"
|
|
android:textColorHighlight="@color/url_bar_text_highlight"
|
|
android:inputType="textUri|textNoSuggestions"
|
|
android:imeOptions="actionSearch|flagNoExtractUi|flagNoFullscreen"
|
|
android:selectAllOnFocus="true"
|
|
android:singleLine="true"
|
|
android:gravity="center_vertical|left">
|
|
<requestFocus/>
|
|
</view>
|
|
|
|
<LinearLayout android:layout_width="4dp"
|
|
android:layout_height="fill_parent"
|
|
android:orientation="vertical"
|
|
android:layout_alignParentRight="true"/>
|
|
|
|
<ImageButton android:id="@+id/awesomebar_button"
|
|
style="@style/AddressBar.ImageButton.Icon"
|
|
android:padding="14dip"
|
|
android:layout_centerVertical="true"
|
|
android:layout_alignRight="@id/awesomebar_text"
|
|
android:visibility="gone"
|
|
android:src="@drawable/ic_awesomebar_go"/>
|
|
|
|
</RelativeLayout>
|