OLD | NEW |
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 | 2 |
3 <!-- Copyright 2014 The Chromium Authors. All rights reserved. | 3 <!-- Copyright 2014 The Chromium Authors. All rights reserved. |
4 | 4 |
5 Use of this source code is governed by a BSD-style license that can be | 5 Use of this source code is governed by a BSD-style license that can be |
6 found in the LICENSE file. | 6 found in the LICENSE file. |
7 --> | 7 --> |
8 | 8 |
9 <org.chromium.chrome.shell.TabManager android:id="@+id/tab_manager" | 9 <org.chromium.chrome.shell.TabManager android:id="@+id/tab_manager" |
10 xmlns:android="http://schemas.android.com/apk/res/android" | 10 xmlns:android="http://schemas.android.com/apk/res/android" |
11 android:layout_width="match_parent" | 11 android:layout_width="match_parent" |
12 android:layout_height="match_parent" | 12 android:layout_height="match_parent" |
13 android:orientation="vertical"> | 13 android:orientation="vertical"> |
14 <org.chromium.chrome.shell.ChromeShellToolbar android:id="@+id/toolbar" | 14 <org.chromium.chrome.shell.ChromeShellToolbar android:id="@+id/toolbar" |
15 android:layout_width="match_parent" | 15 android:layout_width="match_parent" |
16 android:layout_height="wrap_content" | 16 android:layout_height="wrap_content" |
17 android:orientation="horizontal" | 17 android:orientation="horizontal" |
18 android:background="@drawable/progress"> | 18 android:background="@drawable/progress"> |
| 19 <ImageButton android:id="@+id/stop" |
| 20 android:layout_width="38dp" |
| 21 android:layout_height="38dp" |
| 22 android:src="@android:drawable/ic_menu_close_clear_cancel" |
| 23 android:scaleType="center" /> |
| 24 <ImageButton android:id="@+id/reload" |
| 25 android:layout_width="38dp" |
| 26 android:layout_height="38dp" |
| 27 android:src="@drawable/btn_reload_normal" |
| 28 android:scaleType="center" |
| 29 android:visibility="gone" /> |
19 <EditText android:id="@+id/url" | 30 <EditText android:id="@+id/url" |
20 android:layout_width="0dp" | 31 android:layout_width="0dp" |
21 android:layout_height="wrap_content" | 32 android:layout_height="wrap_content" |
22 android:layout_weight="1" | 33 android:layout_weight="1" |
23 android:gravity="bottom" | 34 android:gravity="bottom" |
24 android:textSize="18sp" | 35 android:textSize="18sp" |
25 android:autoText="true" | 36 android:autoText="true" |
26 android:capitalize="sentences" | 37 android:capitalize="sentences" |
27 android:singleLine="true" | 38 android:singleLine="true" |
28 android:selectAllOnFocus="true" | 39 android:selectAllOnFocus="true" |
29 android:hint="@string/url_hint" | 40 android:hint="@string/url_hint" |
30 android:inputType="textUri" | 41 android:inputType="textUri" |
31 android:imeOptions="actionGo|flagNoExtractUi" /> | 42 android:imeOptions="actionGo|flagNoExtractUi" /> |
32 <ImageButton android:id="@+id/menu_button" | 43 <ImageButton android:id="@+id/menu_button" |
33 android:layout_width="38dp" | 44 android:layout_width="38dp" |
34 android:layout_height="38dp" | 45 android:layout_height="38dp" |
35 android:src="@drawable/btn_menu" | 46 android:src="@drawable/btn_menu" |
36 android:background="?android:attr/selectableItemBackground" | 47 android:background="?android:attr/selectableItemBackground" |
37 android:scaleType="center" /> | 48 android:scaleType="center" /> |
38 </org.chromium.chrome.shell.ChromeShellToolbar> | 49 </org.chromium.chrome.shell.ChromeShellToolbar> |
39 <FrameLayout android:id="@+id/content_container" | 50 <FrameLayout android:id="@+id/content_container" |
40 android:layout_width="match_parent" | 51 android:layout_width="match_parent" |
41 android:layout_height="0dp" | 52 android:layout_height="0dp" |
42 android:layout_weight="1"> | 53 android:layout_weight="1"> |
43 </FrameLayout> | 54 </FrameLayout> |
44 | 55 |
45 </org.chromium.chrome.shell.TabManager> | 56 </org.chromium.chrome.shell.TabManager> |
OLD | NEW |