mobile/android/base/resources/layout/toolbar_display_layout.xml

branch
TOR_BUG_3246
changeset 4
fc2d59ddac77
equal deleted inserted replaced
-1:000000000000 0:361cd41f6a45
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
3 - License, v. 2.0. If a copy of the MPL was not distributed with this
4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
5
6 <merge xmlns:android="http://schemas.android.com/apk/res/android"
7 xmlns:gecko="http://schemas.android.com/apk/res-auto">
8
9 <ImageButton android:id="@+id/favicon"
10 style="@style/UrlBar.ImageButton"
11 android:layout_width="@dimen/browser_toolbar_favicon_size"
12 android:layout_height="fill_parent"
13 android:scaleType="fitCenter"
14 android:layout_marginLeft="8dip"
15 android:paddingLeft="4dip"
16 android:paddingRight="4dip"
17 android:layout_gravity="center_vertical"/>
18
19 <ImageButton android:id="@+id/site_security"
20 style="@style/UrlBar.ImageButton"
21 android:layout_width="@dimen/browser_toolbar_lock_width"
22 android:scaleType="fitCenter"
23 android:layout_marginLeft="-4dip"
24 android:src="@drawable/site_security_level"
25 android:contentDescription="@string/site_security"
26 android:visibility="gone"/>
27
28 <org.mozilla.gecko.widget.ThemedTextView android:id="@+id/url_bar_title"
29 style="@style/UrlBar.Button"
30 android:layout_width="fill_parent"
31 android:layout_height="fill_parent"
32 android:layout_weight="1.0"
33 android:singleLine="true"
34 android:paddingRight="8dp"
35 android:textColor="@color/url_bar_title"
36 android:textColorHint="@color/url_bar_title_hint"
37 android:gravity="center_vertical|left"
38 android:hint="@string/url_bar_default_text"
39 android:layout_gravity="center_vertical"
40 gecko:autoUpdateTheme="false"/>
41
42 <org.mozilla.gecko.toolbar.PageActionLayout android:id="@+id/page_action_layout"
43 android:layout_width="wrap_content"
44 android:layout_height="match_parent"
45 android:layout_marginRight="@dimen/browser_toolbar_button_padding"
46 android:visibility="gone"
47 android:orientation="horizontal"/>
48
49 <ImageButton android:id="@+id/stop"
50 style="@style/UrlBar.ImageButton.Icon"
51 android:src="@drawable/urlbar_stop"
52 android:contentDescription="@string/stop"
53 android:visibility="gone"/>
54
55 </merge>

mercurial