diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /mobile/android/base/resources/layout/toolbar_display_layout.xml | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'mobile/android/base/resources/layout/toolbar_display_layout.xml')
-rw-r--r-- | mobile/android/base/resources/layout/toolbar_display_layout.xml | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/mobile/android/base/resources/layout/toolbar_display_layout.xml b/mobile/android/base/resources/layout/toolbar_display_layout.xml new file mode 100644 index 000000000..4caacb379 --- /dev/null +++ b/mobile/android/base/resources/layout/toolbar_display_layout.xml @@ -0,0 +1,52 @@ +<?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/. --> + +<merge xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:gecko="http://schemas.android.com/apk/res-auto"> + + <!-- The site security icon is misaligned with the page title so + we add a bottom margin to align their bottoms. + Site security icon must have exact position and size as search icon in + edit layout --> + <ImageButton android:id="@+id/site_security" + style="@style/UrlBar.ImageButton" + android:layout_width="@dimen/browser_toolbar_site_security_width" + android:layout_height="@dimen/browser_toolbar_site_security_height" + android:scaleType="fitCenter" + android:layout_marginRight="@dimen/browser_toolbar_site_security_margin_right" + android:layout_marginBottom="@dimen/browser_toolbar_site_security_margin_bottom" + android:paddingLeft="@dimen/browser_toolbar_site_security_padding_horizontal" + android:paddingRight="@dimen/browser_toolbar_site_security_padding_horizontal" + android:paddingTop="@dimen/browser_toolbar_site_security_padding_vertical" + android:paddingBottom="@dimen/browser_toolbar_site_security_padding_vertical" + android:src="@drawable/site_security_level" + android:contentDescription="@string/site_security" + android:layout_gravity="center_vertical" /> + + <org.mozilla.gecko.widget.FadedMultiColorTextView + android:id="@+id/url_bar_title" + style="@style/UrlBar.Title" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_weight="1.0" + gecko:fadeWidth="40dip" + gecko:fadeBackgroundColor="@color/toolbar_display_layout_bg" + gecko:autoUpdateTheme="false"/> + + <org.mozilla.gecko.toolbar.PageActionLayout android:id="@+id/page_action_layout" + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:visibility="gone" + android:orientation="horizontal"/> + + <ImageButton android:id="@+id/stop" + android:layout_width="@dimen/page_action_button_width" + android:layout_height="match_parent" + android:src="@drawable/urlbar_stop" + android:contentDescription="@string/stop" + android:background="#00ffffff" + android:visibility="gone"/> + +</merge> |