1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mobile/android/base/resources/layout/toolbar_display_layout.xml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,55 @@ 1.4 +<?xml version="1.0" encoding="utf-8"?> 1.5 +<!-- This Source Code Form is subject to the terms of the Mozilla Public 1.6 + - License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 + - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 1.8 + 1.9 +<merge xmlns:android="http://schemas.android.com/apk/res/android" 1.10 + xmlns:gecko="http://schemas.android.com/apk/res-auto"> 1.11 + 1.12 + <ImageButton android:id="@+id/favicon" 1.13 + style="@style/UrlBar.ImageButton" 1.14 + android:layout_width="@dimen/browser_toolbar_favicon_size" 1.15 + android:layout_height="fill_parent" 1.16 + android:scaleType="fitCenter" 1.17 + android:layout_marginLeft="8dip" 1.18 + android:paddingLeft="4dip" 1.19 + android:paddingRight="4dip" 1.20 + android:layout_gravity="center_vertical"/> 1.21 + 1.22 + <ImageButton android:id="@+id/site_security" 1.23 + style="@style/UrlBar.ImageButton" 1.24 + android:layout_width="@dimen/browser_toolbar_lock_width" 1.25 + android:scaleType="fitCenter" 1.26 + android:layout_marginLeft="-4dip" 1.27 + android:src="@drawable/site_security_level" 1.28 + android:contentDescription="@string/site_security" 1.29 + android:visibility="gone"/> 1.30 + 1.31 + <org.mozilla.gecko.widget.ThemedTextView android:id="@+id/url_bar_title" 1.32 + style="@style/UrlBar.Button" 1.33 + android:layout_width="fill_parent" 1.34 + android:layout_height="fill_parent" 1.35 + android:layout_weight="1.0" 1.36 + android:singleLine="true" 1.37 + android:paddingRight="8dp" 1.38 + android:textColor="@color/url_bar_title" 1.39 + android:textColorHint="@color/url_bar_title_hint" 1.40 + android:gravity="center_vertical|left" 1.41 + android:hint="@string/url_bar_default_text" 1.42 + android:layout_gravity="center_vertical" 1.43 + gecko:autoUpdateTheme="false"/> 1.44 + 1.45 + <org.mozilla.gecko.toolbar.PageActionLayout android:id="@+id/page_action_layout" 1.46 + android:layout_width="wrap_content" 1.47 + android:layout_height="match_parent" 1.48 + android:layout_marginRight="@dimen/browser_toolbar_button_padding" 1.49 + android:visibility="gone" 1.50 + android:orientation="horizontal"/> 1.51 + 1.52 + <ImageButton android:id="@+id/stop" 1.53 + style="@style/UrlBar.ImageButton.Icon" 1.54 + android:src="@drawable/urlbar_stop" 1.55 + android:contentDescription="@string/stop" 1.56 + android:visibility="gone"/> 1.57 + 1.58 +</merge>