mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-02 07:05:24 +00:00
76072d8ddc
--HG-- rename : mobile/android/base/resources/color/abouthome_section_more_text.xml.in => mobile/android/base/resources/color/abouthome_section_more_text.xml rename : mobile/android/base/resources/color/abouthome_section_subtitle.xml.in => mobile/android/base/resources/color/abouthome_section_subtitle.xml rename : mobile/android/base/resources/color/abouthome_section_title.xml.in => mobile/android/base/resources/color/abouthome_section_title.xml rename : mobile/android/base/resources/color/awesome_bar_title.xml.in => mobile/android/base/resources/color/awesome_bar_title.xml rename : mobile/android/base/resources/color/awesome_bar_title_hint.xml.in => mobile/android/base/resources/color/awesome_bar_title_hint.xml rename : mobile/android/base/resources/drawable/abouthome_logo.xml.in => mobile/android/base/resources/drawable/abouthome_logo.xml rename : mobile/android/base/resources/drawable/address_bar_bg.xml.in => mobile/android/base/resources/drawable/address_bar_bg.xml rename : mobile/android/base/resources/drawable/address_bar_nav_button.xml.in => mobile/android/base/resources/drawable/address_bar_nav_button.xml rename : mobile/android/base/resources/drawable/address_bar_url.xml.in => mobile/android/base/resources/drawable/address_bar_url.xml rename : mobile/android/base/resources/drawable/menu_item_state.xml.in => mobile/android/base/resources/drawable/menu_item_state.xml rename : mobile/android/base/resources/drawable/menu_level.xml.in => mobile/android/base/resources/drawable/menu_level.xml rename : mobile/android/base/resources/layout-land-v14/browser_toolbar.xml.in => mobile/android/base/resources/layout-land-v14/browser_toolbar.xml rename : mobile/android/base/resources/layout-land-v14/browser_toolbar_menu.xml.in => mobile/android/base/resources/layout-land-v14/browser_toolbar_menu.xml rename : mobile/android/base/resources/layout-large-land-v11/tabs_panel.xml.in => mobile/android/base/resources/layout-large-land-v11/tabs_panel.xml rename : mobile/android/base/resources/layout-large-v11/awesomebar_search.xml.in => mobile/android/base/resources/layout-large-v11/awesomebar_search.xml rename : mobile/android/base/resources/layout-large-v11/browser_toolbar_menu.xml.in => mobile/android/base/resources/layout-large-v11/browser_toolbar_menu.xml rename : mobile/android/base/resources/layout-xlarge-land-v11/abouthome_content.xml.in => mobile/android/base/resources/layout-xlarge-land-v11/abouthome_content.xml rename : mobile/android/base/resources/layout-xlarge-v11/awesomebar_search.xml.in => mobile/android/base/resources/layout-xlarge-v11/awesomebar_search.xml rename : mobile/android/base/resources/layout/abouthome_content.xml.in => mobile/android/base/resources/layout/abouthome_content.xml rename : mobile/android/base/resources/layout/awesomebar_search.xml.in => mobile/android/base/resources/layout/awesomebar_search.xml rename : mobile/android/base/resources/layout/awesomebar_suggestion_row.xml.in => mobile/android/base/resources/layout/awesomebar_suggestion_row.xml rename : mobile/android/base/resources/layout/awesomebar_tab_indicator.xml.in => mobile/android/base/resources/layout/awesomebar_tab_indicator.xml rename : mobile/android/base/resources/layout/browser_toolbar.xml.in => mobile/android/base/resources/layout/browser_toolbar.xml rename : mobile/android/base/resources/layout/browser_toolbar_menu.xml.in => mobile/android/base/resources/layout/browser_toolbar_menu.xml rename : mobile/android/base/resources/layout/gecko_app.xml.in => mobile/android/base/resources/layout/gecko_app.xml rename : mobile/android/base/resources/layout/tabs_panel.xml.in => mobile/android/base/resources/layout/tabs_panel.xml rename : mobile/android/base/resources/layout/text_selection_handles.xml.in => mobile/android/base/resources/layout/text_selection_handles.xml rename : mobile/android/base/resources/menu-large-v11/browser_app_menu.xml.in => mobile/android/base/resources/menu-large-v11/browser_app_menu.xml rename : mobile/android/base/resources/menu-v11/browser_app_menu.xml.in => mobile/android/base/resources/menu-v11/browser_app_menu.xml rename : mobile/android/base/resources/menu-xlarge-v11/browser_app_menu.xml.in => mobile/android/base/resources/menu-xlarge-v11/browser_app_menu.xml rename : mobile/android/base/resources/menu/browser_app_menu.xml.in => mobile/android/base/resources/menu/browser_app_menu.xml
58 lines
2.7 KiB
XML
58 lines
2.7 KiB
XML
<?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-auto"
|
|
style="@style/AwesomeBar">
|
|
|
|
<org.mozilla.gecko.BrowserToolbarBackground android:id="@+id/address_bar_bg"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_alignParentRight="true"
|
|
gecko:curveTowards="none"
|
|
android:background="@drawable/address_bar_bg"/>
|
|
|
|
<view class="org.mozilla.gecko.CustomEditText"
|
|
android:id="@+id/awesomebar_text"
|
|
style="@style/AddressBar.Button"
|
|
android:background="@drawable/address_bar_url"
|
|
android:layout_marginLeft="4dip"
|
|
android:layout_marginRight="4dip"
|
|
android:layout_marginTop="5dip"
|
|
android:layout_marginBottom="5dip"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_centerVertical="true"
|
|
android:paddingLeft="15dip"
|
|
android:paddingRight="40dip"
|
|
android:hint="@string/awesomebar_default_text"
|
|
android:textColor="@color/awesome_bar_title"
|
|
android:textColorHint="@color/awesome_bar_title_hint"
|
|
android:textColorHighlight="@color/url_bar_text_highlight"
|
|
android:textCursorDrawable="@null"
|
|
android:inputType="textUri|textNoSuggestions"
|
|
android:imeOptions="actionSearch|flagNoExtractUi|flagNoFullscreen"
|
|
android:selectAllOnFocus="true"
|
|
android:singleLine="true"
|
|
android:gravity="center_vertical|left"
|
|
gecko:autoUpdateTheme="false">
|
|
<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="12dip"
|
|
android:layout_centerVertical="true"
|
|
android:layout_alignRight="@id/awesomebar_text"
|
|
android:visibility="gone"
|
|
android:src="@drawable/ic_awesomebar_go"/>
|
|
|
|
</RelativeLayout>
|