mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 22:55:23 +00:00
57 lines
2.7 KiB
XML
57 lines
2.7 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">
|
|
|
|
<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: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="12dip"
|
|
android:layout_centerVertical="true"
|
|
android:layout_alignRight="@id/awesomebar_text"
|
|
android:visibility="gone"
|
|
android:src="@drawable/ic_awesomebar_go"/>
|
|
|
|
</RelativeLayout>
|